Skip to main content

Bug Tracker

Side navigation

#5734 closed bug (invalid)

Opened December 31, 2009 12:51AM UTC

Closed December 31, 2009 03:45PM UTC

ReplaceWith duplicates closing tag </input> in xhtml

Reported by: bertpayne Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

var newElem = $('<INPUT id=attr type=text> </INPUT>');

oldElem.replaceWith(newElem);

the resulting newElem looks like:

<INPUT id=attr type=text> </INPUT> </INPUT>

Attachments (0)
Change History (1)

Changed December 31, 2009 03:45PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed
INPUT
elements don't have closing tags, they should be self closing.