[xwiki-contrib/application-releasenotes] 4ac593: RN-102: Escape the screenshot and video references...
Branch: refs/heads/RN-102 Home: https://github.com/xwiki-contrib/application-releasenotes Commit: 4ac593079d0762643f8b8a3bd3be203ee3891557 https://github.com/xwiki-contrib/application-releasenotes/commit/4ac593079d0... Author: Vincent Massol <[email protected]> Date: 2026-09-03 (Thu, 03 Sep 2026) Changed paths: M application-releasenotes-ui/src/main/resources/ReleaseNotes/Code/Change/ChangeDisplayerVelocityMacros.xml M application-releasenotes-ui/src/test/java/org/xwiki/releasenotes/ChangeScreenshotsPageTest.java M application-releasenotes-ui/src/test/java/org/xwiki/releasenotes/RenderingScriptServiceStub.java Log Message: ----------- RN-102: Escape the screenshot and video references in the change displayer macros * Pass each media reference of a change through $services.rendering.escape in #displayScreenshots before it is emitted, both into the reference part of the gallery and standalone image links and into the attachment parameter of the html5video macro, so that a reference is carried as a single value rather than being re-parsed as wiki syntax, consistent with how the change title is escaped in the displayers. * Extend the screenshots page test with the display of the media block, asserting that a reference holding a link or parameter delimiter stays one image and one player, that nothing of it ends up rendered on its own, and that a plain attachment reference still reaches the image and the player unchanged. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/application-releasenotes/settings/notificat...
participants (1)
-
XWiki Notifications