From: "naruse (Yui NARUSE)" Date: 2012-04-03T16:09:26+09:00 Subject: [ruby-core:44098] [ruby-trunk - Bug #6213] Builder::XmlMarkup drops html_safe Issue #6213 has been updated by naruse (Yui NARUSE). eike.rb (Eike Dierks) wrote: > you're probably right that this is in a third party gem, > but the xml builder is quite a central gem. > so you might want to give me some advice, > to whom I'd should report this? Why don't you google it? ---------------------------------------- Bug #6213: Builder::XmlMarkup drops html_safe https://bugs.ruby-lang.org/issues/6213#change-25627 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/