method
sanitize_content_attachment
rails latest stable - Class:
ActionText::ContentHelper
sanitize_content_attachment(content_attachment)public
No documentation available.
# File actiontext/app/helpers/action_text/content_helper.rb, line 17
def sanitize_content_attachment(content_attachment)
sanitizer.sanitize(
content_attachment,
tags: sanitizer_allowed_tags,
attributes: sanitizer_allowed_attributes,
scrubber: scrubber,
)
end