instance method
sanitize_content_attachment
Ruby on Rails 7.1.6
Since v7.1.6Signature
sanitize_content_attachment(content_attachment)
No documentation comment.
Parameters
-
content_attachmentreq
Source
# 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
Defined in actiontext/app/helpers/action_text/content_helper.rb line 17
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::ContentHelper