From 60b1e692b98c4a3cb9ca5e48f38f1331331191c1 Mon Sep 17 00:00:00 2001 From: Daniel Aleksandersen Date: Tue, 3 Aug 2021 10:26:04 +0200 Subject: [PATCH] Disconnect comment links fom the WebUI (#15251) --- src/webui/www/private/scripts/misc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/www/private/scripts/misc.js b/src/webui/www/private/scripts/misc.js index 1504f6663..8783fba69 100644 --- a/src/webui/www/private/scripts/misc.js +++ b/src/webui/www/private/scripts/misc.js @@ -163,7 +163,7 @@ window.qBittorrent.Misc = (function() { */ const parseHtmlLinks = function(text) { const exp = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|])/ig; - return text.replace(exp, "$1"); + return text.replace(exp, "$1"); } const escapeHtml = function(str) {