Bug Tracker

Ticket #4726 (closed bug: worksforme)

Opened 6 years ago

Last modified 5 years ago

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:
Blocking: Blocked by:


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.


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

Change History

comment:1 Changed 5 years ago by dmethvin

  • Component changed from core to manipulation

Changed 5 years ago by dmethvin

comment:2 Changed 5 years ago by dmethvin

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

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.