File tree Expand file tree Collapse file tree 4 files changed +2
-8
lines changed Expand file tree Collapse file tree 4 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 11require "active_admin/arbre/builder"
2- require "active_admin/arbre/core_extensions"
32require "active_admin/arbre/context"
43require "active_admin/arbre/html/element"
54require "active_admin/arbre/html/attributes"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def tag_name
2727 end
2828
2929 def to_html
30- ERB ::Util . html_escape ( @content . to_html )
30+ ERB ::Util . html_escape ( @content . to_s )
3131 end
3232 end
3333
Original file line number Diff line number Diff line change 9696 it "should html escape the string" do
9797 string = "Goodbye <br />"
9898 element . content = string
99- element . content . to_html . should == "Goodbye <br />"
99+ element . to_html . should == "Goodbye <br />"
100100 end
101101 end
102102
You can’t perform that action at this time.
0 commit comments