This issue has been created
 
 
Cristal / cid:jira-generated-image-avatar-2b972cf3-c3bf-4e3f-9c0e-03e5f0525385 CRISTAL-758 Open

The macro parser does not support single quotes

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-bab0a07c-66b2-46fc-90f2-16a32f0ca8a3 Manuel Leduc created this issue on 27/Nov/25 10:39
 
Summary: The macro parser does not support single quotes
Issue Type: cid:jira-generated-image-avatar-2b972cf3-c3bf-4e3f-9c0e-03e5f0525385 Bug
Affects Versions: 0.24.0
Assignee: Unassigned
Attachments: image-2025-11-27-10-39-51-980.png
Created: 27/Nov/25 10:39
Priority: cid:jira-generated-image-static-major-3b8aa6b5-3e32-4f07-afde-3ae0c86dee43 Major
Reporter: Manuel Leduc
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.

44400_image-2025-11-27-10-39-51-980.png