Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
10.10-rc-1
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Calling the following code in an XWiki page:
{{velocity wiki="false"}} $services.wysiwyg.toAnnotatedXHTML('{{attachmentSelector classname="XWiki.XWikiUsers" property="avatar"/}}', 'xwiki/2.1') {{/velocity}}
will output the startmacro markers twice:
<!--startmacro:attachmentSelector|-|classname="XWiki.XWikiUsers" property="avatar"--><!--startmacro:attachmentSelector|-|classname="XWiki.XWikiUsers" property="avatar"--><!--startmacro:velocity|-|output="false"