Uploaded image for project: 'Cristal'
  1. Cristal
  2. CRISTAL-758

The macro parser does not support single quotes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 0.24.0
    • None
    • None
    • Unknown

    Description

      Reproduction steps

      • In an XWiki page, edit a page with markdown syntax and write a macro with a parameter with a value in single quotes (see snippet below)
      • open the page in Cristal
      {{error title='haha'}}Hello w**or**ld!{{/error}} 

      Expected

      The macro renders as expected.

      Actual

      The macro content is stopped too early, and the parameter (after the first single quote) is used as part of the macro's content.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: