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().
Change History (12)
comment:6 Changed 4 years ago by mikesherov
- Milestone changed from None to 1.8.2
- Owner set to mikesherov
- Priority changed from undecided to low
- Status changed from open to assigned