From b15eab9c2724b3eee6cc145d926510b351ce59c3 Mon Sep 17 00:00:00 2001 From: jedi Date: Wed, 22 May 2024 22:05:03 +0200 Subject: [PATCH] stash --- web/src/views/admin/Settings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/views/admin/Settings.vue b/web/src/views/admin/Settings.vue index 9bb7e9a..cbc5656 100644 --- a/web/src/views/admin/Settings.vue +++ b/web/src/views/admin/Settings.vue @@ -26,7 +26,7 @@ export default { methods: { ...mapActions(['fetchMessageTemplates', 'fetchMessageTemplateVariables']), formatText(value) { - return value.replace(/{{(.*?)}}/g, (match, key) => { + return value.replace(/{{(.+?)}}/g, (match, key) => { return `{{ ${key} }}`; }).replace(/\n/g, '
').replace(/\t/g, '    '); }