lib/page_rankr/backlink.rb in PageRankr-3.0.2 vs lib/page_rankr/backlink.rb in PageRankr-3.1.0
- old
+ new
@@ -3,7 +3,13 @@
module PageRankr
module Backlink
include Tracker
alias_method :backlink, :tracked
+
+ def clean(raw)
+ cleaned_content = super(raw)
+ return nil if cleaned_content.nil? || cleaned_content.zero?
+ cleaned_content
+ end
end
end
\ No newline at end of file