class ActionText::Content

def to_s

content.to_s # => "
safeunsafe
"
content = ActionText::Content.new("
safe
")

content.to_s # => "

Funny times!

"
content = ActionText::Content.new(content: "

Funny times!

")

Safely transforms Content into an HTML String.
def to_s
  to_rendered_html_with_layout
end