Skip to content

Commit

Permalink
Lets ignore non-breaking space
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyLemon committed Feb 12, 2017
1 parent 2693aa1 commit c2c59dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/url.coffee
Expand Up @@ -9,7 +9,7 @@ module.exports = (bot) ->
bot.fetchHTML url, ($)->
if $
stack = []
stack.push $("title").text().replace(/\s\s+/g, "")
stack.push $("title").text().replace(/\s\s+/g, "").replace(/ /g,'')
opis = $("meta[name=description]").attr("content")
if opis
stack.push opis.replace(/\s\s+/g, "")
Expand Down

0 comments on commit c2c59dd

Please sign in to comment.