[xwiki/xwiki-rendering] de7bb7: XRENDERING-792: Improve HTML macro escaping in XHT...
Branch: refs/heads/stable-16.10.x Home: https://github.com/xwiki/xwiki-rendering Commit: de7bb7a908420f9a3d80eacaf35b34de43b24a68 https://github.com/xwiki/xwiki-rendering/commit/de7bb7a908420f9a3d80eacaf35b... Author: Michael Hamann <[email protected]> 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
participants (1)
-
XWiki Notifications