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 `