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 +++- static/styles.css | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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) { diff --git a/static/styles.css b/static/styles.css index fd23b82..481bced 100644 --- a/static/styles.css +++ b/static/styles.css @@ -8,9 +8,11 @@ section { padding: 1ex; } +/* .symbol { font-family: Symbola; } +*/ .ssb-post img { max-width: 100%; -- cgit v1.2.3