Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 634ac03

Browse files
benoleebtford
authored andcommitted
style(sanitize): fix typo in variable names
1 parent 8cab53c commit 634ac03

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)