From b4c2d3bdeb401ff19f480694230ff4bf72ea74b4 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Tue, 10 Nov 2026 21:29:11 +0100 Subject: [PATCH] fix: show form titles in the loading and lock messages as typed t() escapes the values of placeholders for HTML, but these messages are shown as text. A title like "Q&A" read "Q&A" in the messages while a form loads and when it is archived or locked. Pass the values unescaped, as for the other messages shown as text. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Andy Scherzinger --- src/views/Create.vue | 19 +++++++++++++++---- src/views/Submit.vue | 9 ++++++++- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/views/Create.vue b/src/views/Create.vue index 696dd03c8..effc9bca9 100644 --- a/src/views/Create.vue +++ b/src/views/Create.vue @@ -20,7 +20,14 @@ + :name=" + t( + 'forms', + 'Loading {title} …', + { title: form.title }, + { escape: false, sanitize: false }, + ) + "> @@ -31,9 +38,12 @@ class="emtpycontent" :name="t('forms', 'Form is archived')" :description=" - t('forms', 'Form \'{title}\' is archived and cannot be modified.', { - title: form.title, - }) + t( + 'forms', + 'Form \'{title}\' is archived and cannot be modified.', + { title: form.title }, + { escape: false, sanitize: false }, + ) ">