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

Commit

Permalink
fix independent use of yubl
Browse files Browse the repository at this point in the history
  • Loading branch information
adon committed Aug 17, 2015
1 parent 548523b commit 025c76f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/html-purify.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ See the accompanying LICENSE file for terms.
var Parser = require('context-parser').Parser,
tagAttList = require("./tag-attr-list"),
derivedState = require('./derived-states.js'),
uriBlacklistFilter = require('xss-filters')._privFilters.yubl,
yubl = require('xss-filters')._privFilters.yubl,
uriBlacklistFilter = function(s){ return yubl(s.replace(/\x00/g, '%00')); },
CssParser = require('css-js'),
hrefAttribtues = tagAttList.HrefAttributes,
voidElements = tagAttList.VoidElements;
Expand Down

0 comments on commit 025c76f

Please sign in to comment.