```
$('<option selected="selected">something</option>')
.removeAttr('selected')
.wrap('<p></p>').parent().html();

```

results in

```
<option>something</option>

```

which is expected. But if I put back the 'selected' attribute after removing it (or to an `<option>` tag without 'selected' attribute), I get the same output.

```
$('<option selected="selected">something</option>')
.removeAttr('selected')
.attr('selected', 'selected')
.wrap('<p></p>').parent().html();

```

Why is this happening?