forked from GitHub/dbot
unescape reddit titles
This commit is contained in:
parent
1aec6dcd34
commit
427bb7c4b8
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user