Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
refactored a misspelled var name
Browse files Browse the repository at this point in the history
  • Loading branch information
adon committed Aug 12, 2015
1 parent dd4ae8b commit e4d8031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/html-purify.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See the accompanying LICENSE file for terms.
derivedState = require('./derived-states.js'),
uriBlacklistFilter = require('xss-filters')._privFilters.yubl,
CssParser = require('css-js'),
hrefAttribtues = tagAttList.HrefAttributes,
hrefAttributes = tagAttList.HrefAttributes,
voidElements = tagAttList.VoidElements;

function Purifier(config) {
Expand Down Expand Up @@ -92,7 +92,7 @@ See the accompanying LICENSE file for terms.
}
}
// apply the blacklist filter for URI attr value
else if (hrefAttribtues[key]) {
else if (hrefAttributes[key]) {
this.attrVals[key] = addQuoteToValue(action, uriBlacklistFilter(value));
}
else {
Expand Down

0 comments on commit e4d8031

Please sign in to comment.