WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Yet Another Related Posts Plugin] Breaks validation - cannot have <ol> inside of < (2 posts)

  1. anmari
    Member
    Posted 4 years ago #

    Error message when validating:

    document type does not allow element "ol" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

    <p>Related posts:

    1. <a href='http://localhost/wp28/?p=199' rel='bookmark' t

      http://webdesign.about.com/od/htmltags/p/bltags_ul.htm

  2. @anmari you can fix this by changing the before/after related posts so that the </p> tag is before the

      rather than at the end. So, it should look like this:

      before: <p>Related posts:</p>

      after:

    I will change this default in the next version. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic