aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-01-10 23:53:17 -0800
committerChris Rebert <[email protected]>2016-01-10 23:55:10 -0800
commit71443c503416156a3abbd0e617acee376fc4f14e (patch)
tree4910d4047770a4adbc9cfc05cdf415423abb5dc7
parent9304f23ad887d2151659f7958244af816af1ac95 (diff)
downloadbootstrap-71443c503416156a3abbd0e617acee376fc4f14e.tar.xz
bootstrap-71443c503416156a3abbd0e617acee376fc4f14e.zip
HTML validation: Ignore spurious errors about script[integrity]
Workaround for https://github.com/jzaefferer/grunt-html/issues/86
-rw-r--r--Gruntfile.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index c4407332d..ba9979896 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -343,12 +343,14 @@ module.exports = function (grunt) {
'Attribute “autocomplete” not allowed on element “button” at this point.',
'Element “div” not allowed as child of element “progress” in this context. (Suppressing further errors from this subtree.)',
'Consider using the “h1” element as a top-level heading only (all “h1” elements are treated as top-level headings by many screen readers and other tools).',
+ 'The “datetime” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.',
'The “color” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.',
'The “date” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.',
'The “datetime-local” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.',
'The “month” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.',
'The “time” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.',
- 'The “week” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.'
+ 'The “week” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.',
+ 'Attribute “integrity” not allowed on element “script” at this point.' // Until https://github.com/jzaefferer/grunt-html/issues/86 gets fixed
]
},
src: ['_gh_pages/**/*.html', 'js/tests/visual/*.html']