Post PDF Export
[resolved] Formatting question (4 posts)

  1. aussiedude
    Posted 3 years ago #

    My blog is for song lyrics so there are line breaks at the end of each line. However when I export to PDF the lyrics in each post export as a single line. Is there a way to format the text the same as the way it is displayed on the blog?

    The site is at http://cauldronchants.com/ to see the formatting
    You can see what I mean with the PDF here:



  2. Cristopher Dino
    Plugin Author

    Posted 3 years ago #

    Hi aussiedude,

    Thank you for using my plugin. For your concern. You need to use "Text" tab on post editor and apply line break HTML tags(
    ) instead of "Visual" tab.

    If you liked the plugin, i appreciate if you could give it a rate.

  3. aussiedude
    Posted 3 years ago #

    Thanks, that worked. I was hoping to avoid that since there may be less technical folks updating the songs.

  4. palatino
    Posted 2 years ago #

    Line 159 in /inc/shortcode_class.php should go like this:

    $item = apply_filters( 'the_content', get_the_content() );

    in order to apply the complete html tags. Otherwise <p> tags will be stripped away and the pdf does not have line breaks.

    So you don't need to add line breaks. WordPress adds them automatically. See here:

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post PDF Export
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic