diff --git a/src/rules/attr-lowercase.js b/src/rules/attr-lowercase.js index 30a3ecb28..058d24d95 100644 --- a/src/rules/attr-lowercase.js +++ b/src/rules/attr-lowercase.js @@ -5,8 +5,9 @@ HTMLHint.addRule({ id: 'attr-lowercase', description: 'All attribute names must be in lowercase.', - init: function(parser, reporter){ + init: function(parser, reporter, options){ var self = this; + var exceptions = Array.isArray(options) ? options : []; parser.addListener('tagstart', function(event){ var attrs = event.attrs, attr, @@ -14,10 +15,10 @@ HTMLHint.addRule({ for(var i=0, l=attrs.length;i