> What I have a beef with is how `.html()` handles attribute values.
>
> ```javascript
> > $('<div class="parent"><div title="foo & bar">Test</div></div>').html()
> '<div title="foo &amp; bar">Test</div>'
>
> > $('<div class="parent"><div title="foo &amp; bar">Test</div></div>').html()
> '<div title="foo &amp; bar">Test</div>' // same output with &amp; and &
> ```

What *would* you expect as output in these cases?

Some jQuery examples:

```coffeescript
> $('<div>').attr('title', "foo ' bar")[0].outerHTML
'''<div title="foo ' bar"></div>'''
> $('<div>').attr('title', 'foo " bar')[0].outerHTML
'''<div title="foo &quot; bar"></div>'''
> $('<div>').attr('title', 'foo & bar')[0].outerHTML
'''<div title="foo &amp; bar"></div>'''
```