Branch: refs/heads/stable-17.4.x
Home:
https://github.com/xwiki/xwiki-rendering
Commit: 1f151e963a41aa1527a1544e529baaa74ec7c37b
https://github.com/xwiki/xwiki-rendering/commit/1f151e963a41aa1527a1544e529…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-07-14 (Mon, 14 Jul 2025)
Changed paths:
M
xwiki-rendering-xml/src/main/java/org/xwiki/rendering/renderer/printer/XHTMLWikiPrinter.java
M
xwiki-rendering-xml/src/test/java/org/xwiki/rendering/renderer/printer/XHTMLWikiPrinterTest.java
Log Message:
-----------
XRENDERING-792: Improve HTML macro escaping in XHTML rendering output
* Escape all variants of both opening and closing HTML macros.
* Escape also just the start of an opening and closing HTML macro to
avoid complex patterns.
* Pre-compute suffixes to reduce memory allocations in rendering.
(cherry picked from commit 9b71a2ee035815cfc29cebbfe81dbdd98f941d49)
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-rendering/settings/notifications