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