| 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. |