mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
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
This commit is contained in:
parent
9ea690a0d9
commit
e31cf579a0
@ -215,7 +215,7 @@ grunt.initConfig( {
|
|||||||
/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/
|
/This document appears to be written in .*. Consider adding “lang=".*"” \(or variant\) to the “html” start tag/
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
src: htmllintBad
|
src: htmllintBad
|
||||||
|
Loading…
Reference in New Issue
Block a user