From e31cf579a0f3e64250af2e7269eef2e6c6e3d8fb Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Wed, 10 Mar 2021 11:50:52 +0100 Subject: 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 Closes gh-1950 --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index f0aedf96a..ad5ce1961 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 -- cgit v1.2.3