Changes for page MentionsMacro

Last modified by Ruud de Jong on 2024/07/13 22:48

From version 1.1
edited by Bart Vastenhouw
on 2022/08/23 10:38
Change comment: Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/14.6]
To version 2.1
edited by Bart Vastenhouw
on 2023/01/16 11:44
Change comment: Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/14.10.3]

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -12,7 +12,7 @@
12 12  #set ($link = $xwiki.getURL($reference.reference, 'view'))
13 13  {{html}}
14 14  <a id="$escapetool.xml($anchor)" class="$stringtool.join($cssClasses, ' ')" data-reference="$escapetool.xml($services.model.serialize($reference.reference, 'default'))" href="$escapetool.xml($link)">
15 - $escapetool.xml($content)
15 + $escapetool.xml($content)## Do not remove this comment as it ensures that the spacing after mention is not broken.
16 16  </a>
17 17  {{/html}}
18 18  {{/velocity}}