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

HTML cleaner shouldn't compact empty XML elements

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9 M1, 1.8.2
    • Fix Version/s: 1.8.3, 1.9 M2
    • Component/s: {Unused} Rendering 2.0
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Right now it transforms <textarea></textarea> into <textarea/>. While this is valid XHTML we shouldn't do it for 2 reasons:

      • It's more work and it's not required to generate valid XHTML
      • some browsers don't support XHTML and we want our XHTML to work in HTML mode (for the most part).

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: