Skip to main content

Bug Tracker

Side navigation

#13417 closed bug (wontfix)

Opened February 08, 2013 03:13PM UTC

Closed April 03, 2013 01:44PM UTC

domManip ignores empty strings

Reported by: gibson042 Owned by: gibson042
Priority: low Milestone: 1.next
Component: manipulation Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

.domManip ignores empty strings instead of converting them to empty text nodes. Consequently, .append(""), .replaceWith(function() { return ""; }), etc. have no effect instead of performing the expected manipulations (even after #13401 in the latter case).

http://jsfiddle.net/xBtJH/

This being an API change, a fix should not be introduced before 1.11 and 2.1.

Attachments (0)
Change History (2)

Changed February 08, 2013 03:14PM UTC by gibson042 comment:1

component: unfiledmanipulation
milestone: None1.next
owner: → gibson042
priority: undecidedlow
status: newassigned

Changed April 03, 2013 01:44PM UTC by gibson042 comment:2

resolution: → wontfix
status: assignedclosed

On second thought, this is probably just stirring up a hornets' nest. .replaceWith can be addressed more specifically.