Bug Tracker

Opened 8 years ago

Closed 7 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:


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 7 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 7 years ago by dmethvin

  • Component changed from core to manipulation

Changed 7 years ago by dmethvin

comment:2 Changed 7 years ago by dmethvin

  • Resolution set to worksforme
  • Status changed from new to closed

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.