WordPress.org

Support

Support » Miscellaneous » [Resolved] Random <p> and </p>

[Resolved] Random <p> and </p>

  • Anyone know why, or better yet where, random <p>s come from in a post? I am NOT using the MCE because it keeps thinking it knows better then I do how to format the posts.

    I’m using <div> tags with the style attribute so I can customize the layout and so forth and it LOOKS A-OK. However, if I try to validate it I get errors about <p> tags being in the wrong place or </p> being there when it’s not needed.

    They show up slap in the middle of my posted code, in the browser’s source view, but when I check the post in the editor they aren’t there.

    Ergo, some piece of the code is generating them.

    I figure either

    • A – The code needs correcting
    • B – I need to hack it (rather not, makes upgrades a pain)
    • C – There might be a plugin to prevent this?

    All I want is for it to post what I wrote and stop mucking about with it…

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Random <p> and </p>’ is closed to new replies.
Skip to toolbar