Skip to content
Snippets Groups Projects
Commit 70a08fe5 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 018243cd
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ class Static
def self.blank?(html)
text = ActionController::Base.helpers.strip_tags html
text = '' if text.nil?
text = text.strip
text.blank?
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment