class ActionText::Attachment

def to_html

attachment.to_html # => "attachment = ActionText::Attachment.from_attachable(attachable)
attachable = Person.create! name: "Javan"

Converts the attachment to HTML.
def to_html
  HtmlConversion.node_to_html(node)
end