From b97a8007a00a35e61d1ed0aa35b34bb67e047e2c Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Wed, 11 May 2016 19:12:22 -0400 Subject: Attempting to display comments with newlines correctly --- ws2a/bugview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ws2a/bugview.js b/ws2a/bugview.js index 32a921e..8e74f7c 100644 --- a/ws2a/bugview.js +++ b/ws2a/bugview.js @@ -21,7 +21,8 @@ function htmlEscape(str) { .replace(/'/g, ''') .replace(//g, '>') - .replace(/\//g, '/'); + .replace(/\//g, '/') + .replace("\\n", '
'); } function loadLastBugs() { -- cgit v1.2.3-70-g09d2