mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-15 19:12:38 +00:00
Case insensitive matching
This commit is contained in:
@@ -8,7 +8,7 @@ const template = async function(name, title='', props = {}){
|
|||||||
});
|
});
|
||||||
const ogMetaTags = ogTags.join('\n');
|
const ogMetaTags = ogTags.join('\n');
|
||||||
|
|
||||||
const cleanProps = JSON.stringify(props).replace(/<\/script/g, '<\\\/script');
|
const cleanProps = JSON.stringify(props).replace(/<\/script/gi, '<\\\/script');
|
||||||
|
|
||||||
return `<!DOCTYPE html>
|
return `<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|||||||
Reference in New Issue
Block a user