diff --git a/client/template.js b/client/template.js index c77f953ff..de6645e9e 100644 --- a/client/template.js +++ b/client/template.js @@ -8,6 +8,8 @@ const template = async function(name, title='', props = {}){ }); const ogMetaTags = ogTags.join('\n'); + const cleanProps = JSON.stringify(props).replace(/<\/script/g, '<\\\/script'); + return `
@@ -23,7 +25,7 @@ const template = async function(name, title='', props = {}){