diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-11 19:14:34 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-11 19:14:34 -0400 |
| commit | 0a0b72a0d518c98ef17c8aa88438dc45c3b12f2d (patch) | |
| tree | f391536b15664db7fcd22227e67b40cf2ae5fc0b /ws2a | |
| parent | b97a8007a00a35e61d1ed0aa35b34bb67e047e2c (diff) | |
| download | webpage-0a0b72a0d518c98ef17c8aa88438dc45c3b12f2d.tar.gz webpage-0a0b72a0d518c98ef17c8aa88438dc45c3b12f2d.tar.bz2 webpage-0a0b72a0d518c98ef17c8aa88438dc45c3b12f2d.zip | |
Another attempt to replace comment strings correctly
Diffstat (limited to 'ws2a')
| -rw-r--r-- | ws2a/bugview.js | 4 |
1 files 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(/\//g, '/') - .replace("\\n", '<br/>'); + .replace(/\\n/g, '<br/>') + .replace(/\//g, '/'); } function loadLastBugs() { |
