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) { if(!err && posts.length > 0) {
_.each(posts, function(post) { _.each(posts, function(post) {
dbot.say(channel.server, channel.channel, dbot.t('about_post', { dbot.say(channel.server, channel.channel, dbot.t('about_post', {
'title': post.title.trim(), 'title': _.unescape(post.title.trim()),
'poster': post.author, 'poster': post.author,
'subreddit': post.subreddit, 'subreddit': post.subreddit,
'comments': post.num_comments, 'comments': post.num_comments,