jimweirich/builder — pull request #44 by davispuh (2013-09-28 19:18:27+00:00)
Title: Add parameter so text can be optionally not escaped for `tag!`

If I want to add node such as `apples & oranges` without double escaping it, I've to do it with block. such as
```ruby
xml = Builder::XmlMarkup.new({:indent => 2})
xml.root {
xml.node { xml << 'apples & oranges' }
}
```
but output isn't nice...
```

apples & oranges

```
`_indent` is private and so it wouldn't be easy to add indentation myself.

With this PR, I added option to `tag!` that you can specify whether to escape text or not. So we can simply
```ruby
xml.node(false, 'apples & oranges')
```

we get nice result
```

apples & oranges

```

with current implementation, or with `xml.node(true, 'apples & oranges')` or `xml.node('apples & oranges')` it would be double escaped
```

apples &amp; oranges

```