method
sanitize_action_text_content
v8.0.0 -
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 28
def sanitize_action_text_content(content)
sanitizer.sanitize(
content.to_html,
tags: sanitizer_allowed_tags,
attributes: sanitizer_allowed_attributes,
scrubber: scrubber,
).html_safe
end