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

Add macros for HTML and XWiki syntax with nested scripts

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • 14.10
    • Rendering
    • None
    • Unknown

    Description

      Implement new macros whose content are HTML and XWiki syntax that are extended to support short scripts in certain places like parameters similar to Thymeleaf. The main difference to the existing Velocity macro is that these new macros automatically escape the result of the scripts depending on the context which is possible as the HTML or XWiki syntax is parsed before the scripts are executed and thus the context is known. This makes the new templates easier to use and prevents security issues.

      More details and discussions can be found on the forum. A summary of the proposal can be found on the design page.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: