style(sanitize): fix typo in variable names

This commit is contained in:
Ben Holley 2013-07-10 17:11:54 -05:00 committed by Brian Ford
parent 8cab53c64d
commit 634ac03c5e

View file

@ -296,10 +296,10 @@ function htmlParser( html, handler ) {
var attrs = {};
rest.replace(ATTR_REGEXP, function(match, name, doubleQuotedValue, singleQoutedValue, unqoutedValue) {
rest.replace(ATTR_REGEXP, function(match, name, doubleQuotedValue, singleQuotedValue, unquotedValue) {
var value = doubleQuotedValue
|| singleQoutedValue
|| unqoutedValue
|| singleQuotedValue
|| unquotedValue
|| '';
attrs[name] = decodeEntities(value);