From 7565e720117f73102f5a276239eabfe85e15cff4 Mon Sep 17 00:00:00 2001 From: Simon Urli Date: Tue, 27 Jun 2023 09:42:08 +0200 Subject: [PATCH] CRAPP-298: Bad rendering of title with UTF-8 * Fix rendering of the title --- .../main/resources/ChangeRequest/Code/ChangeRequestSheet.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application-changerequest-ui/src/main/resources/ChangeRequest/Code/ChangeRequestSheet.xml b/application-changerequest-ui/src/main/resources/ChangeRequest/Code/ChangeRequestSheet.xml index ef1e0fda..7f492d25 100644 --- a/application-changerequest-ui/src/main/resources/ChangeRequest/Code/ChangeRequestSheet.xml +++ b/application-changerequest-ui/src/main/resources/ChangeRequest/Code/ChangeRequestSheet.xml @@ -77,7 +77,7 @@ <input type="hidden" name="changeType" value="settitle" /> <h1 class="editable"> <span class="edit-title-icon">$services.icon.renderHTML('pencil')</span> - <label class="sr-only" for="edit-title-input">$doc.title</label> + <label class="sr-only" for="edit-title-input">$services.rendering.escape($doc.title, 'xwiki/2.1')</label> <input type="text" id="edit-title-input" name="new-title" value="$escapetool.xml($doc.title)" /> </h1> <div class="title-button-wrapper hidden">