From 634ac03c5efb7a35bb8107dfc686bf834e77f019 Mon Sep 17 00:00:00 2001 From: Ben Holley Date: Wed, 10 Jul 2013 17:11:54 -0500 Subject: style(sanitize): fix typo in variable names --- src/ngSanitize/sanitize.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ngSanitize/sanitize.js') diff --git a/src/ngSanitize/sanitize.js b/src/ngSanitize/sanitize.js index bd694818..6f28324e 100644 --- a/src/ngSanitize/sanitize.js +++ b/src/ngSanitize/sanitize.js @@ -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); -- cgit v1.2.3