Confluence Data Center template variable edit view is not up-to-date with the HTML sanitizer

XMLWordPrintable

    • Severity 3 - Minor
    • 1

      Issue Summary

      When using a template which contains variables, the content sanitized to HTML 4 standards. When the plugin uses HTML 5 tags to display its content, the tag is completely removed on the createpage-entervariables.action view. This happens only when the page is created using the template and the tag reappears after the publishing the page.

      Steps to Reproduce

      1. Download the attached zip file
      2. Run the plugin using atlas-run command
      3. Navigate to UI, Create a template, add the macro and a variable $test
      4. Create a page using the newly created template
      5. Open the inspector and highlight on Data and you can see that the <data> has been removed.

      Expected Results

      HTML 5 tags should not be sanitized

      Actual Results

      HTML 5 tags are removed on the createpage-entervariables.action view

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Deepak Pandey
            Votes:
            8 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: