Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-509

Add support for HTML5 in the {{html}} Macro

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 14.1-rc-1
    • 9.11.4
    • Macro - HTML
    • Unit
    • Unknown

    Description

      Right now the html macro only generates XHTML 1.0 and thus doesn't accept HTML5 elements (such as the FIGURE element). We need a way to be able to output HTML5 too.

      Example use case:

      • You use the {{figure}} macro in a wiki page. It renders correctly.
      • You use the same macro in a textarea xproperty and call
        $doc.display(...)

        and it'll be wrapped with the {{html}} macro and thus won't display the same result as the figure element is not supported by XHTML 1.0

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: