Skip to content

Commit

Permalink
A whitespace fix for preview urls - this time for description
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyLemon committed Jan 13, 2017
1 parent 523e90a commit 2693aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/url.coffee
Expand Up @@ -12,7 +12,7 @@ module.exports = (bot) ->
stack.push $("title").text().replace(/\s\s+/g, "")
opis = $("meta[name=description]").attr("content")
if opis
stack.push opis
stack.push opis.replace(/\s\s+/g, "")
cb stack.join("\n")

bot.on 'user:talk', (r) ->
Expand Down

0 comments on commit 2693aa1

Please sign in to comment.