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