3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-26 04:32:37 +01:00

unescape reddit titles

This commit is contained in:
reality 2014-07-12 18:15:56 +00:00
parent 1aec6dcd34
commit 427bb7c4b8

View File

@ -59,7 +59,7 @@ var reddit = function(dbot) {
if(!err && posts.length > 0) {
_.each(posts, function(post) {
dbot.say(channel.server, channel.channel, dbot.t('about_post', {
'title': post.title.trim(),
'title': _.unescape(post.title.trim()),
'poster': post.author,
'subreddit': post.subreddit,
'comments': post.num_comments,