Changes for page MentionsMacro

Last modified by Sebastian Marsching on 2024/01/08 23:13

From version 5.1
edited by Sebastian Marsching
on 2023/01/17 22:35
Change comment: Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/14.10.3]
To version 4.1
edited by Sebastian Marsching
on 2022/08/02 11:52
Change comment: Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/14.6]

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)## Do not remove this comment as it ensures that the spacing after mention is not broken.
15 + $escapetool.xml($content)
16 16  </a>
17 17  {{/html}}
18 18  {{/velocity}}