fixing bug where stray ampersands are causing rendering issues.

This commit is contained in:
Andrew Danger Lyon 2014-12-23 17:17:34 -08:00
parent 64c9e0a17a
commit 0bbcc805e3

View file

@ -395,7 +395,7 @@ var highlight_lisp = function() {
html = html.replace(/(^\n|\n$)/g, '');
html = html.replace(/<(?!\/?span)/g, '&lt;');
// Re-encode stray &s to conform with XHTML
html = html.replace(/&/g, '&amp;');
//html = html.replace(/&/g, '&amp;');
code_el.innerHTML = html;
},