Handle posts missing content

This commit is contained in:
cel
2017-05-12 10:03:22 -10:00
parent bff02dfad0
commit efdeaa0a62
+1 -1
View File
@@ -432,7 +432,7 @@ function render(opts, c) {
} }
function renderPost(opts, c) { function renderPost(opts, c) {
return '<section>' + marked(c.text, opts.marked) + "</section>"; return '<section>' + marked(String(c.text), opts.marked) + "</section>";
} }
function renderDefault(c) { function renderDefault(c) {