diff --git a/kit/preprocess.js b/kit/preprocess.js index 584fec71..a0249a9b 100644 --- a/kit/preprocess.js +++ b/kit/preprocess.js @@ -486,7 +486,7 @@ function escapeSvelteSpecialChars() { node.value = node.value.replaceAll("<", "<"); }else if(hfDocBodyStart && !hfDocBodyEnd && htmlTags.includes(tagName)){ const $ = cheerio.load(node.value); - // Go through each text node in the HTML and replace "a" with "b" + // Go through each text node in the HTML and replace "{" with "{" $('*').contents().each((index, element) => { if (element.type === 'text') { element.data = element.data.replaceAll("{", "{");