From 56c8071134351342d2f630e3334a7ab97e08499a Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 30 Oct 2024 10:51:55 +0100 Subject: [PATCH] update regex for check html --- build-scripts/gulp/download-translations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/gulp/download-translations.js b/build-scripts/gulp/download-translations.js index 70a3cc12f18c..b9f2c9758397 100644 --- a/build-scripts/gulp/download-translations.js +++ b/build-scripts/gulp/download-translations.js @@ -13,7 +13,7 @@ const srcMeta = "src/translations/translationMetadata.json"; const encoding = "utf8"; function hasHtml(data) { - return /<[a-z][\s\S]*>/i.test(data); + return /<\S*>/i.test(data); } function recursiveCheckHasHtml(file, data, errors, recKey) {