Skip to content

Commit 6a43c67

Browse files
benoleectrahey
authored andcommitted
style(sanitize): fix typo in variable names
1 parent 8577109 commit 6a43c67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ngSanitize/sanitize.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,10 @@ function htmlParser( html, handler ) {
296296

297297
var attrs = {};
298298

299-
rest.replace(ATTR_REGEXP, function(match, name, doubleQuotedValue, singleQoutedValue, unqoutedValue) {
299+
rest.replace(ATTR_REGEXP, function(match, name, doubleQuotedValue, singleQuotedValue, unquotedValue) {
300300
var value = doubleQuotedValue
301-
|| singleQoutedValue
302-
|| unqoutedValue
301+
|| singleQuotedValue
302+
|| unquotedValue
303303
|| '';
304304

305305
attrs[name] = decodeEntities(value);

0 commit comments

Comments
 (0)