Permalink
Browse files

A whitespace fix for preview urls - this time for description

  • Loading branch information...
1 parent 523e90a commit 2693aa1a2c902ad1b036958e318ca2956ff9debc @CrazyLemon CrazyLemon committed Jan 13, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/url.coffee
View
@@ -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) ->

0 comments on commit 2693aa1

Please sign in to comment.