From: Raimon Fs on
Hi,

Is it possible to NOT encode or escape some chars in Builder ?


code:
----------------

require 'rubygems'
require 'builder'

builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2)
builder.instruct!
builder.person { |b| b.name("Jim Fernández"); b.phone("555-1234") }


output:
----------------

<?xml version="1.0" encoding="UTF-8"?>
<person>
<name>Jim Fern&#225;ndez</name>
<phone>555-1234</phone>
</person>


I want:
-----------------

<?xml version="1.0" encoding="UTF-8"?>
<person>
<name>Jim Fernández</name>
<phone>555-1234</phone>
</person>

thanks!

m.
--
Posted via http://www.ruby-forum.com/.