method
sanitize_action_text_content
v6.1.7.7 -
Show latest stable
- Class:
ActionText::ContentHelper
sanitize_action_text_content(content)public
No documentation available.
# File actiontext/app/helpers/action_text/content_helper.rb, line 17
def sanitize_action_text_content(content)
sanitizer.sanitize(content.to_html, tags: allowed_tags, attributes: allowed_attributes, scrubber: scrubber).html_safe
end