diff --git a/scripts/lint-translations.js b/scripts/lint-translations.js index bc18dd724..5e7f81b17 100644 --- a/scripts/lint-translations.js +++ b/scripts/lint-translations.js @@ -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;