Methods

Instance Public methods

fragment_by_minifying_attachments(content)

📝 Source code
# File actiontext/lib/action_text/attachments/minification.rb, line 11
        def fragment_by_minifying_attachments(content)
          Fragment.wrap(content).replace(ActionText::Attachment.tag_name) do |node|
            node.tap { |n| n.inner_html = "" }
          end
        end
🔎 See on GitHub