check for HTML tags across multiple lines

This commit is contained in:
ansuz 2021-08-17 12:15:07 +05:30
parent 09bdcb2013
commit 554ce65346

View File

@ -68,7 +68,7 @@ var processLang = function (map, lang, primary) {
if (typeof(s) !== 'string') { return; }
var usesHTML;
s.replace(/<.*?>/g, function (html) {
s.replace(/<[\s\S]*?>/g, function (html) {
if (simpleTags.indexOf(html) !== -1) { return; }
announce();
usesHTML = true;