Issue #6213 has been reported by eike.rb (Eike Dierks).

----------------------------------------
Bug #6213: Builder::XmlMarkup drops html_safe
https://bugs.ruby-lang.org/issues/6213

Author: eike.rb (Eike Dierks)
Status: Open
Priority: High
Assignee: 
Category: 
Target version: 
ruby -v: 1.9.2


A single line in Builder::XmlMarkup needs to be changed slightly,
to enable the builder to work with the html_safe flag that was introduced with rails3.

like

    def method_missing(sym, *args, &block)
          [...]
          text = arg.to_s   # changed this line to keep the html_safe flag







-- 
http://bugs.ruby-lang.org/