mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
update comment
This commit is contained in:
parent
c5774c3a5a
commit
c547f552dd
@ -22,7 +22,7 @@ var debounce = function(callback, wait) {
|
||||
}
|
||||
|
||||
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 }
|
||||
|
||||
var sanitizer = new DOMPurify
|
||||
|
Loading…
x
Reference in New Issue
Block a user