aboutsummaryrefslogtreecommitdiff
path: root/lib/render.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render.js')
-rw-r--r--lib/render.js4
1 files changed, 3 insertions, 1 deletions
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 '<span class="symbol">' + $0 + '</span>'
})
}
+*/
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) {