WordPress.org

Ready to get started?Download WordPress

Forums

Paragraph Tags in posts (3 posts)

  1. anuga
    Member
    Posted 9 years ago #

    When doing a blog entry, if the entry ain't started with <p> WordPress add's it, ;) great. But... if I start the message with a <blockquote> (for example) and after that adds <p> there is all of a sudden too many and my valid xhtml becomes invalid.

    I havn't looked at the code, cause what I saw was a mess :D but i guess your using preg_match("<p>","...")
    How about expading that, so it looks for more tags then just <p> ;)

  2. anuga
    Member
    Posted 9 years ago #

    Also, when adding <p> in here then re:editing the post, the <p> disappears from the code and left is only the backticks

  3. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    Posts beginning with blockquotes validate fine for me. You might check out the discussion at http://wordpress.org/support/topic.php?id=21679 about putting blockquote tags on separate lines.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.