From 0a0b72a0d518c98ef17c8aa88438dc45c3b12f2d Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Wed, 11 May 2016 19:14:34 -0400 Subject: Another attempt to replace comment strings correctly --- ws2a/bugview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ws2a/bugview.js b/ws2a/bugview.js index 8e74f7c..ddd5866 100644 --- a/ws2a/bugview.js +++ b/ws2a/bugview.js @@ -21,8 +21,8 @@ function htmlEscape(str) { .replace(/'/g, ''') .replace(//g, '>') - .replace(/\//g, '/') - .replace("\\n", '
'); + .replace(/\\n/g, '
') + .replace(/\//g, '/'); } function loadLastBugs() { -- cgit v1.2.3-70-g09d2