From c1bbb23daf862c4ff762dfc73af2c0ee9c2de037 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sun, 2 Feb 2020 07:26:42 -0800 Subject: [PATCH] rewrite & as & so that links will render properly, issue #54 --- assets/parser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/parser.js b/assets/parser.js index c214bd3..b58b872 100644 --- a/assets/parser.js +++ b/assets/parser.js @@ -20,5 +20,6 @@ function fixPostHtml(data) { data = data.replace(/<\\?\/?span[^>]*>/g, ""); data = data.replace(/
/g, "
"); + data = data.replace(/&/g, "&"); return data; } \ No newline at end of file