aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2015-08-25 08:43:47 +0300
committerXhmikosR <[email protected]>2015-08-25 08:43:47 +0300
commit4fae5a6f4b6d8528a8013030850bad60e9e4fba8 (patch)
tree297a4f3f6e22564aafb0bb9226883d44a562b864
parent108ef992d9fb73dae835eeb8ff80cbec70d4c40f (diff)
downloadbootstrap-4fae5a6f4b6d8528a8013030850bad60e9e4fba8.tar.xz
bootstrap-4fae5a6f4b6d8528a8013030850bad60e9e4fba8.zip
Fix `grunt validate-html` task.
-rw-r--r--Gruntfile.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index b2b66855b..6dcb2085b 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -1,7 +1,7 @@
/*!
* Bootstrap's Gruntfile
* http://getbootstrap.com
- * Copyright 2013-2014 Twitter, Inc.
+ * Copyright 2013-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
@@ -336,6 +336,7 @@ module.exports = function (grunt) {
jekyll: {
options: {
+ bundleExec: true,
config: '_config.yml'
},
docs: {},
@@ -350,7 +351,6 @@ module.exports = function (grunt) {
options: {
ignore: [
'Element “img” is missing required attribute “src”.',
- 'Bad value “X-UA-Compatible” for attribute “http-equiv” on element “meta”.',
'Attribute “autocomplete” not allowed on element “input” at this point.',
'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.)',
@@ -438,7 +438,7 @@ module.exports = function (grunt) {
require('time-grunt')(grunt);
// Docs HTML validation task
- grunt.registerTask('validate-html', ['jekyll:docs']);
+ grunt.registerTask('validate-html', ['jekyll:docs', 'htmllint']);
var runSubset = function (subset) {
return !process.env.TWBS_TEST || process.env.TWBS_TEST === subset;