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
This commit is contained in:
Michał Gołębiowski-Owczarek 2021-03-10 11:50:52 +01:00 committed by GitHub
parent 9ea690a0d9
commit e31cf579a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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