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

Invalid inline CSS generated by the HTMLCleaner

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.4.5, 6.1-milestone-2
    • 5.4.4
    • XML
    • None
    • Unit
    • N/A
    • N/A

    Description

      The XWikiDOMSerializer uses // to escape the CDATA marker for both <script> and <style> elements, but // is not valid CSS syntax.

      Among other things, this breaks embedded SVGs, since Batik ignores invalid style elements.

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: