Regular expression to remove all html tags except span tag
1 answer
ActionView :: Helpers provide a method sanitizefor this.
http://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html#method-i-sanitize
sanitize "some html", :tags => %w"span"
+10