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, ' ');
}