rewrite & as & so that links will render properly, issue #54
This commit is contained in:
parent
c322df38c0
commit
c1bbb23daf
1 changed files with 1 additions and 0 deletions
|
@ -20,5 +20,6 @@
|
||||||
function fixPostHtml(data) {
|
function fixPostHtml(data) {
|
||||||
data = data.replace(/<\\?\/?span[^>]*>/g, "");
|
data = data.replace(/<\\?\/?span[^>]*>/g, "");
|
||||||
data = data.replace(/<br>/g, "<br/>");
|
data = data.replace(/<br>/g, "<br/>");
|
||||||
|
data = data.replace(/&/g, "&");
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
Reference in a new issue