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

{{wikimacrocontent}} does not work anymore when the wiki macro puts it inside an html macro

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 12.8-rc-1, 12.6.3, 11.10.11
    • Fix Version/s: 12.6.7, 12.10.3, 13.0
    • Component/s: Rendering - WikiMacro
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The wikimacrocontent is used as a placeholder replaced at the end of the wiki macro execution by the right content. Unfortunately when the wiki macro put an html macro around it all we have at the end is a RawBlock with html in it.

      It's not easy to fix it without getting back a security issue.

      The workaround right now is to not use the wikimacrocontent (or the wikimacroparameter) macro inside an html macro.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: