Changes for page MentionsMacro

Last modified by Thomas Coelho (local) on 2025/05/07 14:13

From version 1.1
edited by Laura Sagunski
on 2022/09/27 12:41
Change comment: Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/14.6]
To version 2.1
edited by Thomas Coelho (local)
on 2023/02/24 19:45
Change comment: Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/14.10.3]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.sagunski
1 +xwiki:XWiki.coelho
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}}