Skip to content

Commit e31cf57

Browse files
authored
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
1 parent 9ea690a commit e31cf57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ grunt.initConfig( {
215215
/Element object is missing one or more of the following/,
216216
/The codebase attribute on the object element is obsolete/,
217217
/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/
218+
/This document appears to be written in .*. Consider adding lang=".*" \(or variant\) to the html start tag/
219219
]
220220
},
221221
src: htmllintBad

0 commit comments

Comments
 (0)