Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-48

HTML Cleaner doesn't produce valid XHTML when there's a LI element without an OL or UL parent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.2 M3
    • Fix Version/s: 3.2 RC1
    • Component/s: XML
    • Labels:
      None
    • Similar issues:

      Description

      {{html}}<li>hi</li>{{/html}}
      

      Produces

      <p><li>hi</li></p>
      

      Which fails W3 validation.

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            calebjamesdelisle CalebJamesDeLisle
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: