From 4576d5298cffba8ef2d33ba5dd2da7b22e99dea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski-Owczarek?= Date: Tue, 9 Mar 2021 23:34:44 +0100 Subject: [PATCH] Build: Fix the new htmllint error regex Some bad pages are being detected as Catalan randomly which makes the build fail. This is reproducible both locally & on Travis. PR gh-1949 added a new regex to account for this error but it didn't escape parens properly so it's not matching the problematic error message. Ref gh-1949 --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index f0aedf96a72..ad5ce1961fc 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -215,7 +215,7 @@ grunt.initConfig( { /Element “object” is missing one or more of the following/, /The “codebase” attribute on the “object” element is obsolete/, /Consider adding a “lang” attribute to the “html” start tag/, - /This document appears to be written in .*. Consider adding “lang=".*"” (or variant) to the “html” start tag/ + /This document appears to be written in .*. Consider adding “lang=".*"” \(or variant\) to the “html” start tag/ ] }, src: htmllintBad