Skip to content

Commit 1029849

Browse files
authored
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
1 parent e6592a8 commit 1029849

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Gruntfile.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ grunt.initConfig( {
214214
/Element head is missing a required instance of child element title/,
215215
/Element object is missing one or more of the following/,
216216
/The codebase attribute on the object element is obsolete/,
217-
/Consider adding a lang attribute to the html start tag/
217+
/Consider adding a lang attribute to the html start tag/,
218+
/This document appears to be written in .*. Consider adding lang=".*" (or variant) to the html start tag/
218219
]
219220
},
220221
src: htmllintBad

0 commit comments

Comments
 (0)