aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-03-09 00:10:38 +0100
committerGitHub <noreply@github.com>2021-03-09 00:10:38 +0100
commit1029849a5314cac7371de9d787199749423bb458 (patch)
tree75c041afa0f48eddfc0b453d4dba39b786e120d3
parente6592a8affcf26063dbfeb20ca9a599b11e1f07a (diff)
downloadjquery-ui-1029849a5314cac7371de9d787199749423bb458.tar.gz
jquery-ui-1029849a5314cac7371de9d787199749423bb458.zip
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
-rw-r--r--Gruntfile.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 9e18fd3d8..f0aedf96a 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -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