Title: Formatting question
Last modified: August 20, 2016

---

# Formatting question

 *  Resolved [aussiedude](https://wordpress.org/support/users/aussiedude/)
 * (@aussiedude)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/formatting-question/)
 * 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/](http://cauldronchants.com/) to see
   the formatting
    You can see what I mean with the PDF here: [http://cauldronchants.com/wp-content/uploads/2013/03/Cauldron_Chants.pdf](http://cauldronchants.com/wp-content/uploads/2013/03/Cauldron_Chants.pdf)
 * Thanks
 * [http://wordpress.org/extend/plugins/post-pdf-export/](http://wordpress.org/extend/plugins/post-pdf-export/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Cristopher Dino](https://wordpress.org/support/users/cristopher-dino/)
 * (@cristopher-dino)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/formatting-question/#post-3581494)
 * 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.
 *  Thread Starter [aussiedude](https://wordpress.org/support/users/aussiedude/)
 * (@aussiedude)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/formatting-question/#post-3581511)
 * Thanks, that worked. I was hoping to avoid that since there may be less technical
   folks updating the songs.
 *  [palatino](https://wordpress.org/support/users/palatino/)
 * (@palatino)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/formatting-question/#post-3581592)
 * 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:
    [http://wordpress.stackexchange.com/questions/32716/how-to-force-p-insertion-in-editor](http://wordpress.stackexchange.com/questions/32716/how-to-force-p-insertion-in-editor)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Formatting question’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-pdf-export_dfe0df.svg)
 * [Post PDF Export](https://wordpress.org/plugins/post-pdf-export/)
 * [Support Threads](https://wordpress.org/support/plugin/post-pdf-export/)
 * [Active Topics](https://wordpress.org/support/plugin/post-pdf-export/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-pdf-export/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-pdf-export/reviews/)

## Tags

 * [export](https://wordpress.org/support/topic-tag/export/)
 * [formatting](https://wordpress.org/support/topic-tag/formatting/)

 * 3 replies
 * 3 participants
 * Last reply from: [palatino](https://wordpress.org/support/users/palatino/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/formatting-question/#post-3581592)
 * Status: resolved