From c547f552ddc354b08ff788aab5182aceaed918e4 Mon Sep 17 00:00:00 2001 From: Nazar Kanaev Date: Wed, 9 Sep 2020 23:28:14 +0100 Subject: [PATCH] update comment --- assets/javascripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 5707d3b..7808f17 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -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