Änderungen von Dokument Confluence Gallery Macro
Zuletzt geändert von xwikiadmin am 2025/12/11 06:32
Von Version 3.1
bearbeitet von xwikiadmin
am 2023/04/25 11:49
am 2023/04/25 11:49
Änderungskommentar:
Install extension [com.xwiki.pro:xwiki-pro-macros/1.7.1]
Auf Version 6.1
bearbeitet von xwikiadmin
am 2025/05/21 09:23
am 2025/05/21 09:23
Änderungskommentar:
Migrated property [feature] from class [XWiki.WikiMacroParameterClass]
Zusammenfassung
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- XWiki.WikiMacroClass[0]
-
- Makro-Code
-
... ... @@ -10,7 +10,7 @@ 10 10 #set ($pages = $pagesString.split(',')) 11 11 ## Display the gallery title if it is set (newlines are needed for the following macro calls to be standalone) 12 12 #if ("$!title" != '') 13 - ==$title== 13 + ==$services.rendering.escape($title, $xwiki.currentContentSyntaxId)== 14 14 #end 15 15 ## add the current page to the page list if no pages were given 16 16 #if ("$!pagesString" == '') ... ... @@ -49,7 +49,7 @@ 49 49 #if ($attachments.size() > 0) 50 50 {{gallery}} 51 51 #foreach ($attachment in $attachments) 52 - [[image:$attachment]] 52 + [[image:$services.rendering.escape($attachment, $xwiki.currentContentSyntaxId)]] 53 53 #end 54 54 {{/gallery}} 55 55 #end