jimweirich / builder

Provide a simple way to create XML markup and data structures.
http://builder.rubyforge.org
MIT License
361 stars 103 forks source link

Support customized attribute quote character #35

Closed hongbin closed 11 years ago

hongbin commented 11 years ago

Hi.

I have a case that need to use single quote as attribute quoting character instead of double quote. It will be great if XML builder can support that.

jimweirich commented 11 years ago

When you create a builder, you can now say:

   xml = Builder::XmlMarkup.new(:quote => :single)

This is in the 3.2.0 release.