WordPress.org

Ready to get started?Download WordPress

Forums

hr tag breaks p tag in rc3? (3 posts)

  1. tecnobabble
    Member
    Posted 8 years ago #

    I've run into 3 different instances of this, all running 2.0 RC3. When I put a <hr> tag into the body of a post, or page, then try to put a tag after it, it doesn't work. It will 'look' right in the source, and right in the html editor, but when I save it, it strips the tag out (along with the closing tag) in the actual post. When I remove the <hr> tag, it works fine and leaves the tag where it is.

    <br> and other tags don't seem to be affected.

  2. navid
    Member
    Posted 8 years ago #

    You should try <hr /> instead. Also, make sure you are uncheck invalidating XHTML in the Options portion of the administrative console.

  3. schestowitz
    Member
    Posted 8 years ago #

    wordpress will attempt to close the open <hr> because it should indeed by, as navid said,<hr />. WordPress is quite strict about such matters. I am not sure what will happen if you disable MarkDown and Textile, but I imagine it might give you more freedom at the expense of automation.

Topic Closed

This topic has been closed to new replies.

About this Topic