Project

General

Profile

Actions

Bug #6213

closed

Builder::XmlMarkup drops html_safe

Added by eike.rb (Eike Dierks) about 12 years ago. Updated about 12 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
1.9.2
Backport:
[ruby-core:<unknown>]

Description

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
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0