Opened 14 years ago
Closed 12 years ago
#4726 closed bug (worksforme)
el.wrap('<element1><element2></element2></element1>') only wraps <element1> in IE7
Reported by: | rossbruniges | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | manipulation | Version: | 1.3.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hope the summary is descriptive enough.
Trying to wrap multiple elements around a node fails ie IE7 by only wrapping the first in the list.
Work around was to use wrap twice (and maybe this is the expected usage) but it did cause me about an hour of head-scratching - works FF, Safari, Opera.
Attachments (1)
Change History (3)
comment:1 Changed 13 years ago by
Component: | core → manipulation |
---|
Changed 12 years ago by
Attachment: | test-4726.html added |
---|
comment:2 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Works for me, see attachment. Perhaps you were trying to create invalid html, such as wrapping block elements in a paragraph?