I've just spent some time convincing myself that this fix is sound. Here's the relevant snippet from the REPL session:

```javascript
> var $ = require('.').load()
undefined
> var ol = $('<ol><li></ol>')
undefined
> var li = ol.children()
undefined
> li.attr('title', 'foo & bar &amp; baz').attr('title') === 'foo & bar &amp; baz'
true
> ol.html() === '<li title="foo &amp; bar &amp;amp; baz"></li>'
true
```