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

HtmlCleaner shouldn't transform content when creating a Document

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • None
    • 10.11
    • XML
    • None
    • Unknown
    • N/A
    • N/A

    Description

      When an HTML is parsed and serialized in a w3c DOM Document, some attribute values are transformed in XWikiDOMSerializer: for example an image source like http://foo?a=b&b=a will be transformed to http://foo?a=b&b=a.

      This kind of transformation shouldn't be done at that stage since the Document should reflect the exact content of the page: this kind of transformation - if needed - should be done only when serializing the Document back to HTML.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: