Skip to content

Commit

Permalink
Build: Add a new htmllint error regex
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mgol committed Mar 8, 2021
1 parent e6592a8 commit 1029849
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ grunt.initConfig( {
/Element “head” is missing a required instance of child element “title”/,
/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/
/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
Expand Down

0 comments on commit 1029849

Please sign in to comment.