From 1716d5295c334d7ba8825ec5cee50f9b12b2683f Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Sun, 11 Jul 2021 16:38:06 +0200 Subject: [PATCH] refs #26113 do not escape display name in dashboard welcome text Signed-off-by: Julien Veyssier --- apps/dashboard/src/App.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue index aa02d48a44085..0c59452997cdb 100644 --- a/apps/dashboard/src/App.vue +++ b/apps/dashboard/src/App.vue @@ -180,20 +180,20 @@ export default { const good = { morning: { generic: t('dashboard', 'Good morning'), - withName: t('dashboard', 'Good morning, {name}', { name: this.displayName }), + withName: t('dashboard', 'Good morning, {name}', { name: this.displayName }, undefined, { escape: false }), }, afternoon: { generic: t('dashboard', 'Good afternoon'), - withName: t('dashboard', 'Good afternoon, {name}', { name: this.displayName }), + withName: t('dashboard', 'Good afternoon, {name}', { name: this.displayName }, undefined, { escape: false }), }, evening: { generic: t('dashboard', 'Good evening'), - withName: t('dashboard', 'Good evening, {name}', { name: this.displayName }), + withName: t('dashboard', 'Good evening, {name}', { name: this.displayName }, undefined, { escape: false }), }, night: { // Don't use "Good night" as it's not a greeting generic: t('dashboard', 'Hello'), - withName: t('dashboard', 'Hello, {name}', { name: this.displayName }), + withName: t('dashboard', 'Hello, {name}', { name: this.displayName }, undefined, { escape: false }), }, }