Skip to content

Commit

Permalink
Build: Fix the 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. 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
  • Loading branch information
mgol committed Mar 10, 2021
1 parent 9ea690a commit e31cf57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e31cf57

Please sign in to comment.