mirror of
https://github.com/vale981/highlight-lisp
synced 2025-03-05 09:21:38 -05:00
fixing bug where stray ampersands are causing rendering issues.
This commit is contained in:
parent
64c9e0a17a
commit
0bbcc805e3
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ var highlight_lisp = function() {
|
|||
html = html.replace(/(^\n|\n$)/g, '');
|
||||
html = html.replace(/<(?!\/?span)/g, '<');
|
||||
// Re-encode stray &s to conform with XHTML
|
||||
html = html.replace(/&/g, '&');
|
||||
//html = html.replace(/&/g, '&');
|
||||
|
||||
code_el.innerHTML = html;
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue