[solution]Paragraph line breaks bug. (4 posts)

  1. mpie
    Posted 9 years ago #

    I saw a lot of posts about ppl having problem with the Paragraph not being converted correctly or change it to <br>.
    Here's 1 quick little solution:

    open wp-includes/post-template.php

    find line 57: echo $content;

    replace with: echo nl2br($content);

    Hope this helps.


  2. sergegrandbois
    Posted 8 years ago #

    Nope doesn't do a thing...

  3. mjg
    Posted 8 years ago #

    Worked for me, thanks, except it was line 79.

    I've got no idea what caused my paragraph breaks to suddenly disappear. I disabled recent plugins and tried stylesheet changes, but nothing worked until I read this post.

  4. rascal
    Posted 8 years ago #

    This worked like a charm.

    Weird thing was, I have all three of my WP sites set up the same way with the same versions and only one was having this problem. Theme issue??

Topic Closed

This topic has been closed to new replies.

About this Topic