jimweirich / builder

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

xml << does not indent #26

Closed bhus closed 12 years ago

bhus commented 12 years ago

This is actually linked to an (admittedly purely cosmetic) issue brought up in Rails [ https://github.com/rails/rails/issues/7036 ] : Should the << operator indent it's text?

jimweirich commented 12 years ago

The shovel operator is the low level inserter. It does not indent by design.