This issue has been created
There is 1 update.
 
 
CLI / cid:jira-generated-image-avatar-bebf0ce5-3b3c-4e87-bdbe-983594a0106b CLI-20 Open

Macro are not correctly detected

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-10121d5c-b10e-440a-b909-51f35d0ac229 Josué Tille created this issue on 21/Jan/26 17:15
 
Summary: Macro are not correctly detected
Issue Type: cid:jira-generated-image-avatar-bebf0ce5-3b3c-4e87-bdbe-983594a0106b Bug
Assignee: Unassigned
Created: 21/Jan/26 17:15
Priority: cid:jira-generated-image-static-major-aeeb5d34-5ff8-4752-95d0-9dc345e834c9 Major
Reporter: Josué Tille
Description:

Some macros are not correctly detected. For instance if we have something like this:

{{velocity}}
{{job id="{{velocity}}$!request.jobId{{/velocity}}"}}{{/job}}

$code...
{{/velocity}}

Unfortunately the basic way we manage the macro will not work with a code like this because we don't expect to have the a macro into a macro with the same name. So in this case we will consider that the main velocity macro close when we find the first string /velocit which is wrong in this case.

This ticket is to bring some improvements around this to limit the problem.

Ideally we would like to use XWiki rendering which is far more strong but in the meantime we can try to ignore the inline macro. Having the possibility to edit the inline macro is quite useless so removing this possibility wouldn't be a problem and this will limit the risk to have an issue like this.

 
 

1 update

 
cid:jira-generated-image-avatar-10121d5c-b10e-440a-b909-51f35d0ac229 Changes by Josué Tille on 21/Jan/26 17:16
 
Assignee: Josué Tille