update comment
This commit is contained in:
parent
c5774c3a5a
commit
c547f552dd
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ var debounce = function(callback, wait) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var sanitize = function(content, base) {
|
var sanitize = function(content, base) {
|
||||||
// WILD: `item.link` is not always a valid url
|
// WILD: `item.link` may be a relative link (or some nonsense)
|
||||||
try { new URL(base) } catch(err) { base = null }
|
try { new URL(base) } catch(err) { base = null }
|
||||||
|
|
||||||
var sanitizer = new DOMPurify
|
var sanitizer = new DOMPurify
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue