+ [link_proportion - 0.2, 0.0].max * 200 + link_count * 40
+ end
+
+ protected
+
+ def simple_format(text)
+ SimpleFormat.new.simple_format(text)
+ end
+
+ def linkify(text)
+ if text.html_safe?
+ Rinku.auto_link(text, :urls, tag_options(:rel => "nofollow")).html_safe
+ else
+ Rinku.auto_link(text, :urls, tag_options(:rel => "nofollow"))
+ end