Issue #6213 has been updated by shyouhei (Shyouhei Urabe).

Status changed from Feedback to Third Party's Issue

I guess it is the builder gem.
----------------------------------------
Bug #6213: Builder::XmlMarkup drops html_safe
https://bugs.ruby-lang.org/issues/6213#change-25293

Author: eike.rb (Eike Dierks)
Status: Third Party's Issue
Priority: Low
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/