0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 21:52:43 +00:00

Case insensitive matching

This commit is contained in:
G.Ambatte
2024-05-06 07:27:22 +12:00
parent 53480fdd5f
commit 1af989c4a3

View File

@@ -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>