Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5922

If JTidy fails to clean the HTML input, all further steps fail because of whitespace before the XML declaration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.0 M2
    • 3.0 M1
    • {Unused} Export
    • None
    • Unknown

    Description

      This happens for example when including non-HTML elements in the source, such as SVG. A simple fix would be to trim the content before feeding it to the various processing tools.

      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: