Include autogenerated links when calculating the spam score

This commit is contained in:
Tom Hughes 2012-01-21 15:59:27 +00:00
parent a98a2a0213
commit c6b295ab2d

View file

@ -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|