lib/jkl/text_client.rb in jakal-0.1.3 vs lib/jkl/text_client.rb in jakal-0.1.4
- old
+ new
@@ -1,10 +1,10 @@
module Jkl
module Text
class << self
def sanitize(text)
- remove_short_lines strip_all_tags remove_script_tags text
+ remove_short_lines(strip_all_tags(remove_script_tags(text)))
end
def strip_all_tags(text)
text.gsub(/<\/?[^>]*>/, "")
end