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

Macro syntax inside macro parameter should not break the macro when between quotes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Rendering in the platform
    • Fix Version/s: 4.2-milestone-1
    • Component/s: Syntax
    • Labels:
      None
    • Tests:
      Unit
    • Documentation:
      N/A
    • Similar issues:

      Description

      We should support the following:

      {{box title="{{info}}test{{/info}}"}}this is a test{{/box}}
      

      the workaround is to escape the two }} the following way:

      {{box title="{{info~}}test{{/info~}}"}}this is a test{{/box}}
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aj Andreas Jonsson
              Reporter:
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: