check for HTML tags across multiple lines

pull/1/head
ansuz 3 years ago
parent 09bdcb2013
commit 554ce65346

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

Loading…
Cancel
Save