method
sanitize_action_text_content
v7.1.3.2 -
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: sanitizer_allowed_tags,
attributes: sanitizer_allowed_attributes,
scrubber: scrubber,
).html_safe
end