Changes for page Children Macro
Last modified by Admin Trust-IT on 2026/06/18 14:22
From version 1.1
edited by Admin Trust-IT
on 2026/04/14 07:33
on 2026/04/14 07:33
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-index-tree-macro/18.2.1]
To version 2.1
edited by Admin Trust-IT
on 2026/06/18 14:22
on 2026/06/18 14:22
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-index-tree-macro/18.4.1]
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -2,7 +2,7 @@ 2 2 ## Escape special characters in the macro parameter value. 3 3 #set ($sort = $xcontext.macro.params.sort.replaceAll('([~"])', '~$1')) 4 4 #if ("$!xcontext.macro.params.root" != '') 5 - #set ($root = $xcontext.macro.params.root) 5 + #set ($root = $xcontext.macro.params.root.replaceAll('([~"])', '~$1')) 6 6 #else 7 7 #set ($root = 'document:') 8 8 #end