From d15de8444d2b2effe2a157b6c9c3f5818cdab78e Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 6 Apr 2017 16:31:36 -0700 Subject: Disable symbol wrapping --- lib/render.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/render.js') diff --git a/lib/render.js b/lib/render.js index ef77f35..9c37d9c 100644 --- a/lib/render.js +++ b/lib/render.js @@ -80,6 +80,7 @@ Render.prototype.emoji = function (emoji) { }) : name } +/* disabled until it can be done safely without breaking html function fixSymbols(str) { // Dillo doesn't do fallback fonts, so specifically render fancy characters // with Symbola @@ -87,6 +88,7 @@ function fixSymbols(str) { return '' + $0 + '' }) } +*/ Render.prototype.markdown = function (text, mentions) { if (!text) return '' @@ -100,7 +102,7 @@ Render.prototype.markdown = function (text, mentions) { }) var out = marked(String(text), this.markedOpts) delete this._mentions - return fixSymbols(out) + return out //fixSymbols(out) } Render.prototype.imageUrl = function (ref) { -- cgit v1.2.3