text: !function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror"),require("htmlhint")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","htmlhint"],a):a(CodeMirror)}(function(a){"use strict";var b={"tagname-lowercase":!0,"attr-lowercase":!0,"attr-value-double-quotes":!0,"doctype-first":!1,"tag-pair":!0,"spec-char-escape":!0,"id-unique":!0,"src-not-empty":!0,"attr-no-duplication":!0};a.registerHelper("lint","html",function(c,d){var e=[];if(!window.HTMLHint)return e;for(var f=HTMLHint.verify(c,d&&d.rules||b),g=0;g<f.length;g++){var h=f[g],i=h.line-1,j=h.line-1,k=h.col-1,l=h.col;e.push({from:a.Pos(i,k),to:a.Pos(j,l),message:h.message,severity:h.type})}return e})});