The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[Plugin: article2pdf] Bold tags not converted to PDF - can't figure out why not. (2 posts)

  1. GeoffreyTransom
    Posted 7 years ago #

    Hi y'all.

    I'm using WP 2.8.2 with article2pdf 0.27; I figured out how to get the thing to link properly to my post pages (adding the following code to thecontent.php)

    <?php if($single) { ?>
                    |&nbsp;<a href="<?php echo $gtlinkpdf;?>?article2pdf=1"><img src="../images/pdf.png" /></a>
    <?php } ?>

    The script gets the right content, and the PDF is produced.

    The problem is that every HTML bold tag is completely removed, along with the text in between - BUT if it is bold-italic, the text appears in the PDF but is only italic.

    <b>text</b> does not print in PDF at all
    <i><b>text</b></i> prints in the PDF as text, not text

    HAs anyone experienced a similar problem? I thought perhaps it might be an issue of allowed tags, but it seems nbot.

    Also, if quotes are replaced by their codes, right-single-quotes is replaced by a question mark.

    Any assistance would be greatly appreciated.


    <b>GT's Market Rant</b>

  2. Marc Serra
    Posted 6 years ago #

    try with


    That works for me! Good luck!

Topic Closed

This topic has been closed to new replies.

About this Topic