diff --git a/assets/parser.js b/assets/parser.js index b58b872..7a58d80 100644 --- a/assets/parser.js +++ b/assets/parser.js @@ -20,6 +20,11 @@ function fixPostHtml(data) { data = data.replace(/<\\?\/?span[^>]*>/g, ""); data = data.replace(/
/g, "
"); - data = data.replace(/&/g, "&"); + var hrefreg = /]*)\\?">/; + var hrefm = hrefreg.exec(data); + if (hrefm != null) { + var href = hrefm[1].replace(/&/g, "&"); + data = data.replace(hrefreg, ""); + } return data; } \ No newline at end of file