mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-10 07:44:43 +00:00
style(sanitize): fix typo in variable names
This commit is contained in:
parent
8cab53c64d
commit
634ac03c5e
1 changed files with 3 additions and 3 deletions
|
|
@ -296,10 +296,10 @@ function htmlParser( html, handler ) {
|
||||||
|
|
||||||
var attrs = {};
|
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
|
var value = doubleQuotedValue
|
||||||
|| singleQoutedValue
|
|| singleQuotedValue
|
||||||
|| unqoutedValue
|
|| unquotedValue
|
||||||
|| '';
|
|| '';
|
||||||
|
|
||||||
attrs[name] = decodeEntities(value);
|
attrs[name] = decodeEntities(value);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue