Build: Add a 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. This commit adds a new
regex to account for this error.

Closes gh-1949
This commit is contained in:
Michał Gołębiowski-Owczarek 2021-03-09 00:10:38 +01:00 committed by GitHub
parent e6592a8aff
commit 1029849a53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,7 +214,8 @@ grunt.initConfig( {
/Element “head” is missing a required instance of child element “title”/, /Element “head” is missing a required instance of child element “title”/,
/Element “object” is missing one or more of the following/, /Element “object” is missing one or more of the following/,
/The “codebase” attribute on the “object” element is obsolete/, /The “codebase” attribute on the “object” element is obsolete/,
/Consider adding a “lang” attribute to the “html” start tag/ /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/
] ]
}, },
src: htmllintBad src: htmllintBad