lib/jkl/text_client.rb in jakal-0.1.6 vs lib/jkl/text_client.rb in jakal-0.1.7

- old
+ new

@@ -3,9 +3,10 @@ class << self def sanitize(text) remove_short_lines(strip_all_tags(remove_script_tags(text))) end + alias :clean :sanitize def strip_all_tags(text) text.gsub(/<\/?[^>]*>/, "") end