Update html.js

This commit is contained in:
Stripes
2022-10-27 11:49:28 +03:00
committed by GitHub
parent cac2d0ee31
commit ca91fb5dc0
+1 -1
View File
@@ -16,7 +16,7 @@ const processHtml = (templateName, map) => {
else if (templateName === 'homePageAddon')
template = homePageAddonTemplate
var re = new RegExp(Object.keys(map).join('|'),'gi')
const re = new RegExp(Object.keys(map).join('|'),'gi')
return template.replace(re, matched => map[matched])
}