From d0219cb16a4392e79e67ffcdf04029fb4fff643e Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 5 Feb 2017 15:58:19 +1300 Subject: [PATCH] fix superfluous nl2br --- client/dcwebui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/dcwebui.js b/client/dcwebui.js index 0bd813f..b3a7f91 100644 --- a/client/dcwebui.js +++ b/client/dcwebui.js @@ -45,7 +45,7 @@ var linkify = function(str) { }; var sanitise = function(s) { - return linkify(nl2br(hesc(s))); + return linkify(hesc(s)); }; var toggle = function($el) {