Issue #6213 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Open to Feedback
Priority changed from High to Low

What is Builder::XmlMarkup?
----------------------------------------
Bug #6213: Builder::XmlMarkup drops html_safe
https://bugs.ruby-lang.org/issues/6213#change-25292

Author: eike.rb (Eike Dierks)
Status: Feedback
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/