aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngSanitize/sanitize.js
diff options
context:
space:
mode:
authorBen Holley2013-07-10 17:11:54 -0500
committerPawel Kozlowski2013-07-11 22:48:45 +0200
commit4e96334b5c2a18204cd82fa121e2290906277b39 (patch)
tree322aec8268a5d3d07569df94864e62437c57c44c /src/ngSanitize/sanitize.js
parenta83ed0e6c373695f02ecd126f400a0ca1840b7d2 (diff)
downloadangular.js-4e96334b5c2a18204cd82fa121e2290906277b39.tar.bz2
style(sanitize): fix typo in variable names
Diffstat (limited to 'src/ngSanitize/sanitize.js')
-rw-r--r--src/ngSanitize/sanitize.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ngSanitize/sanitize.js b/src/ngSanitize/sanitize.js
index 30de2231..0fef4cfe 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);