Ticket #13233 (closed bug: fixed)
Unexpected behavior when iterating over and manipulating detached nodes in jquery 1.9
|Reported by:||octatone||Owned by:||gibson042|
I have a convenience method that I use to wrap text elements in a html string in spans. In 1.8.3 and before it has worked as intended. I wanted to upgrade to 1.9.0, but am finding my function breaks and that manipulation on detached nodes and their child elements to not reflect correctly. Child elements seem to not be connected to the original node and any changes are not present on the parent.
I created an example case here:
In 1.8.3 all child text nodes are wrapped in spans. In 1.9 the result is that the html of the node is never changed and subsequently the returned result is not correct.
- Owner set to gibson042
- Status changed from new to assigned
- Milestone changed from None to 1.9.1
- Status changed from assigned to closed
- Resolution set to fixed