aboutsummaryrefslogtreecommitdiff
path: root/lib/render.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render.js')
-rw-r--r--lib/render.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render.js b/lib/render.js
index 1aec728..e694396 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -190,7 +190,7 @@ Render.prototype.markdown = function (text, mentions, opts) {
var out = ssbcMd ? md.block(String(text), {
toUrl: function (ref) { return self.toUrl(ref) },
imageLink: function (ref) { return self.imageUrl(ref) }
- }) : marked(String(text), this.markedOpts)
+ }) : marked(u.toString(text), this.markedOpts)
delete this._mentions
delete this._mentionsByLink
return out //fixSymbols(out)