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

HtmlCleaner strips the leading space in value form attributes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.4.4, 10.2, 11.0.3
    • Fix Version/s: 11.1-rc-1
    • Component/s: XML
    • Labels:
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      Description

      Using an html such as:

      <input type="hidden" value="  foo" />

      the following html will be produced by HtmlCleaner:

      <input type="hidden" value="foo" /> 

      The expecting result is the same HTML as given in input.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                surli Simon Urli
                Reporter:
                surli Simon Urli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: