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


=begin
"metadata" in builder-3.0.0.gem contains:
  authors: 
  - Jim Weirich
  email: jim / weirichhouse.org
  homepage: http://onestepback.org
=end

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

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/