Changes for page MentionsMacro

Last modified by Thomas Coelho (local) on 2023/11/03 15:26

From version 4.1
edited by Thomas Coelho (local)
on 2022/08/02 15:11
Change comment: Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/14.6]
To version 5.1
edited by Thomas Coelho (local)
on 2023/01/17 20:37
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}}