instance method sanitize_content_attachment

Ruby on Rails 7.1.6

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

sanitize_content_attachment(content_attachment)

No documentation comment.

Parameters

content_attachment req
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close