WordPress.org

Ready to get started?Download WordPress

Forums

Validation fails with <hr> and blockquotes using Textile (6 posts)

  1. IainCheyne
    Member
    Posted 8 years ago #

    For some reason, <hr> and bq. are being marked as invalid when I use <hr> or bq. or

    in Textile. Is there any way around this?

    <hr> is a nice way of subdividing my posts.
    bq. or

    are nice ways of quoting other people.

    Here are my validation results: http://snipurl.com/xhtmlvalidate

    I notice that both elements are within tags. Is this the cause of my problem?

  2. Yngwin
    Member
    Posted 8 years ago #

    Indeed it is not allowed to have hr and/or blockquote within a p element.

  3. IainCheyne
    Member
    Posted 8 years ago #

    Aha! Thanks. Is there anyway around this in Textile?

  4. IainCheyne
    Member
    Posted 8 years ago #

    OK, I have worked out what the problem was with the blockquotes. I should not use the built-in WordPress <blockquote> buttons to create blockquotes. Instead I should use the bq. Textile command instead.

    Now I just need to work out how to make horizontal lines in Textile. Any ideas? Can I escape Textile somehow?

  5. IainCheyne
    Member
    Posted 8 years ago #

    Screw it. I just took the <hr /> tags out, as I want a validating page.

    If anyone can think of a solution, please let me know.

    :)

  6. Yngwin
    Member
    Posted 8 years ago #

    CSS. Horizontal lines are most likely presentation elements, so should be coded in CSS rather than (X)HTML.

Topic Closed

This topic has been closed to new replies.

About this Topic