Bug Tracker

Opened 11 years ago

Closed 10 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)

test-4726.html (542 bytes) - added by dmethvin 10 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 10 years ago by dmethvin

Component: coremanipulation

Changed 10 years ago by dmethvin

Attachment: test-4726.html added

comment:2 Changed 10 years ago by dmethvin

Resolution: worksforme
Status: newclosed

Works for me, see attachment. Perhaps you were trying to create invalid html, such as wrapping block elements in a paragraph?

Note: See TracTickets for help on using tickets.