From ed596041ed5fde332acac4426b5fdfee787cf68c Mon Sep 17 00:00:00 2001 From: mic Date: Sun, 13 Oct 2024 22:33:45 +0200 Subject: [PATCH] not forcing doublequotes --- js/mzta-placeholders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/mzta-placeholders.js b/js/mzta-placeholders.js index 9b253e0e..86020dce 100644 --- a/js/mzta-placeholders.js +++ b/js/mzta-placeholders.js @@ -132,7 +132,7 @@ export const placeholdersUtils = { // Regular expression to match patterns like {%...%} return text.replace(/{%\s*(.*?)\s*%}/g, function(match, p1) { // p1 contains the key inside {% %} - return replacements[p1] ? "\"" + replacements[p1] + "\"" : match; // Replace if found, otherwise keep the original + return replacements[p1] || match; // Replace if found, otherwise keep the original }); },