Include autogenerated links when calculating the spam score
This commit is contained in:
parent
a98a2a0213
commit
c6b295ab2d
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ module OSM
|
|||
link_count = 0
|
||||
link_size = 0
|
||||
|
||||
doc = Nokogiri::HTML(text)
|
||||
doc = Nokogiri::HTML(Rinku.auto_link(text, :urls))
|
||||
|
||||
if doc.content.length > 0
|
||||
doc.xpath("//a").each do |link|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue