mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 21:06:58 +00:00
Case insensitive matching
This commit is contained in:
1 parent
53480fdd5f
commit
1af989c4a3
1 file changed
+1
-1
+1
-1
@@ -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 `<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
Reference in new issue
Block a user