Skip to content
Permalink
Browse files Browse the repository at this point in the history
XWIKI-20279: Improved escaping in FlamingoThemesCode.WebHome
  • Loading branch information
manuelleduc committed Nov 17, 2022
1 parent 47b3177 commit 80d5be3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Expand Up @@ -110,6 +110,14 @@
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<!-- Required for the documentTree macro. -->
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-index-tree-macro</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
<type>xar</type>
</dependency>
<!-- Test dependencies. -->
<dependency>
<groupId>org.xwiki.platform</groupId>
Expand Down
Expand Up @@ -37,6 +37,11 @@
<syntaxId>xwiki/2.1</syntaxId>
<hidden>true</hidden>
<content>{{velocity}}
{{documentTree showTranslations="false" showAttachments="false" root="document:$doc.documentReference" /}}
#set ($documentReference = $services.rendering.escape("document:$doc.documentReference", 'xwiki/2.1'))
{{documentTree
showTranslations="false"
showAttachments="false"
root="$documentReference"
/}}
{{/velocity}}</content>
</xwikidoc>

0 comments on commit 80d5be3

Please sign in to comment.