diff --git a/static/archive.js b/static/archive.js index f43e63f..91accd3 100755 --- a/static/archive.js +++ b/static/archive.js @@ -66,11 +66,11 @@ function toggleMenu() { } function highlightLine(no) { - var lines = $chatArea.innerHTML.split('
'); + var lines = $chatArea.innerHTML.split("\n"); lines[no] = '' + lines[no] + ''; - $chatArea.innerHTML = lines.join('
'); + $chatArea.innerHTML = lines.join("\n"); } function onLoad() {