• I can’t seem to put line breaks in any posts or comments without explicity using X/HTML.

    I’m fairly sure this used to work back in WP 1.5… I only recently upgraded.

    The posts/comments are stored in the DB without extra tags, but with the newlines intact, so I assume somewhere along the way, WP is supposed to be translating the extra newlines to paragraphs or break tags as appropriate, it’s just not doing so.

    My blog is at http://infocynic.opennet.us … you can see the first two posts, where I describe what I did.

    I have temporarily disabled registration requirements for commenting so you can play with it. Go wild as needed on either of those posts and I’ll just trash the posts when it’s fixed.

    I have also disabled ALL plugins. I have tried various themes to see if it fixes anything and it doesn’t seem to.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Pastebin your theme’s comments.php please (copy the contents and paste them there).

    It appears that your content is not being run through the WordPress filters that replace line breaks with either paragraph tags or <br />.

    Just look at the source:

    <dd class="">

    This is paragraph 1.

    This is paragraph 2. </dd>

    Thread Starter infocynic

    (@infocynic)

    Yeah, I saw the source, my only thought was that it was being rewritten by javascript or something… I’ve been programming with AJAX for work (not on my blog) and keep going to check the source for code that’s not there due to javascript.

    Anyway, the pastebin is at http://wordpress.pastebin.com/655590

    Thread Starter infocynic

    (@infocynic)

    Well, I copied all the files from wp-includes from a fresh install in another folder to my live site and it fixed it, although it must have been something in a subfolder, because diff on the wp-includes directory without recursion told me everything was the same…

    Sadly, this broke my ability to use date and name permalinks… but numeric permalinks work OK, and I can try to fix date and name permalinks again tomorrow… seems like for everything I fix, something more breaks. 🙁

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Line breaks’ is closed to new replies.