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

div elements are removed by htmlcleaner when inside a dl element

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Our html cleaner is automatically cleaning the div element that are present inside a dl element, for example:

      <dl>
        <div>
           <dt>something</dt>
        </div>
      

      is transformed to remove the div.
      This should not happen since the div elements are authorized inside a dl, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: