method

sanitize_content_attachment

rails latest stable - Class: ActionText::ContentHelper

Method not available on this version

This method is only available on newer versions. The first available version (v7.1.3.4) is shown here.

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