Permalink
Browse files
Lets ignore non-breaking space
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
scripts/url.coffee
|
|
@@ -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, "")
|
|
|
|
0 comments on commit
c2c59dd