Ticket #10470 (closed bug: fixed)
wrap() evaluates scripts
|Reported by:||nick@…||Owned by:||gibson042|
Calling .wrap() will evaluate any scripts inside the element. This can cause problems when the browser has already run the scripts once. If this isn't considered a bug, it ought to be be mentioned in the documentation for wrap().
Workaround: manually do .remove('script') prior to using .wrap().
- Owner set to mikesherov
- Priority changed from undecided to low
- Status changed from open to assigned
- Milestone changed from None to 1.8.2