From 7c4d5314934c069ac6ec435bcc8582ed2b50b708 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 14 Dec 2016 21:16:44 -0800 Subject: [PATCH] frontend/Utils: oh god undo this --- frontend/src/Utils.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/frontend/src/Utils.js b/frontend/src/Utils.js index 477dddd..f464cf2 100644 --- a/frontend/src/Utils.js +++ b/frontend/src/Utils.js @@ -1,13 +1,9 @@ // Module App.BlogEntry -function htmlDecode(value){ - return $('
').html(value).text(); -} - exports.mdify = function(id) { var converter = new showdown.Converter() elem = document.getElementById(id); md = elem.innerHTML; - elem.innerHTML = htmlDecode(converter.makeHtml(md)); + elem.innerHTML = converter.makeHtml(md); return "done :)"; }