From 1af989c4a3721b51e3aa5ac682288fd8b1002cf1 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Mon, 6 May 2024 07:27:22 +1200 Subject: [PATCH] Case insensitive matching --- client/template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/template.js b/client/template.js index de6645e9e..e247613d6 100644 --- a/client/template.js +++ b/client/template.js @@ -8,7 +8,7 @@ const template = async function(name, title='', props = {}){ }); const ogMetaTags = ogTags.join('\n'); - const cleanProps = JSON.stringify(props).replace(/<\/script/g, '<\\\/script'); + const cleanProps = JSON.stringify(props).replace(/<\/script/gi, '<\\\/script'); return `