Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-commons Commit: e7961c62afd6230f206154991549e6543786e485 https://github.com/xwiki/xwiki-commons/commit/e7961c62afd6230f206154991549e6... Author: Michael Hamann <[email protected]> Date: 2025-07-14 (Mon, 14 Jul 2025) Changed paths: M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/EscapeTool.java M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/JSONTool.java M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/EscapeToolTest.java M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/JSONToolTest.java Log Message: ----------- XCOMMONS-3371: $jsontool and $escapetool should escape { to increase compatibility with XWiki syntax rendering * Add { to the characters to escape in JSON, with custom unicode-based escaping as standard escaping isn't available. * Escape { in EscapeTool#javascript. * Add/adapt test cases. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications