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 authored and dz0ny committed Feb 23, 2017
1 parent 541eb50 commit e6c84ba
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 e6c84ba

Please sign in to comment.