diff --git a/render.js b/render.js index 600698b..2315f82 100644 --- a/render.js +++ b/render.js @@ -354,7 +354,7 @@ function renderRss(opts, msg) { var c = msg.value.content || {}; var name = encodeURIComponent(msg.key); - let content = render(opts, c); + let content = h('div', render(opts, c)).innerHTML; if (!content) { return null; @@ -362,7 +362,7 @@ function renderRss(opts, msg) { return ( '' + - '' + msg.author.name + ' | ' + c.type + '' + + '' + escape(msg.author.name + ' | ' + (c.type || 'private')) + '' + '' + '' + opts.base + escape(name) + '' + '' + new Date(msg.value.timestamp).toUTCString() + '' +