lib/active_admin/arbre/html/text_node.rb in activeadmin-0.3.4 vs lib/active_admin/arbre/html/text_node.rb in activeadmin-0.4.0
- old
+ new
@@ -24,11 +24,11 @@
def tag_name
nil
end
- def to_html
- ERB::Util.html_escape(@content.to_html)
+ def to_s
+ ERB::Util.html_escape(@content.to_s)
end
end
end
end