Changes for page Children Macro
Last modified by John Northrup on 2026/07/06 07:29
From version 1.1
edited by John Northrup
on 2026/03/31 22:53
on 2026/03/31 22:53
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-index-tree-macro/18.2.0]
To version 3.1
edited by John Northrup
on 2026/07/06 07:29
on 2026/07/06 07:29
Change comment:
Replaced user [xwiki:XWiki.northrup-0] in fields [author, contentAuthor] to user [xwiki:XWiki.northrup]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. JohnNorthrup1 +XWiki.northrup
- 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