From 34cb3f1a65da0118cc837b8cecfd23332ab2867a Mon Sep 17 00:00:00 2001 From: hinnerk Date: Wed, 17 Jun 2015 15:28:40 +0200 Subject: [PATCH] silent html5 validation problems - deprecation notice of w3 service causes build to fail (upstream issue: https://github.com/praveenvijayan/grunt-html-validation/issues/76) - should ampersand be escaped in url parameters? opinions differ; current practice in docs is not to escape URL parameter ampersands, and this need not cause the build to fail --- Gruntfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 623bf429..81dd4540 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -276,7 +276,9 @@ module.exports = function (grunt) { reset: true, relaxerror: [ 'Bad value X-UA-Compatible for attribute http-equiv on element meta.', - 'Element img is missing required attribute src.' + 'Element img is missing required attribute src.', + 'This interface to HTML5 document checking is deprecated.', + '\\& did not start a character reference. \\(\\& probably should have been escaped as \\&.\\)' ] }, files: {