method
render_attachments
v6.1.7.7 -
Show latest stable
- Class:
ActionText::Content
render_attachments(**options, &block)public
No documentation available.
# File actiontext/lib/action_text/content.rb, line 60
def render_attachments(**options, &block)
content = fragment.replace(ActionText::Attachment::SELECTOR) do |node|
block.call(attachment_for_node(node, **options))
end
self.class.new(content, canonicalize: false)
end