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

HTML macros inside HTML macros should be forced clean=false

    XMLWordPrintable

    Details

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

      Description

      That way html is merged before being cleaned:

      • the cleaner is executed with the whole context
      • this support use case where the macro is a false inline:
        <div>
        {{html}}<ul></ul>{{html}}
        </div>
        

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: