Changes for page Children Macro
Last modified by Drunk Monkey on 2026-07-19 14:45
From version 12.1
edited by Drunk Monkey
on 2025-11-26 15:28
on 2025-11-26 15:28
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-index-tree-macro/17.10.0]
To version 13.1
edited by Drunk Monkey
on 2026-07-19 14:45
on 2026-07-19 14:45
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-index-tree-macro/18.5.0]
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