Bug Tracker

Opened 6 years ago

Closed 6 years ago

#13417 closed bug (wontfix)

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.

Change History (2)

comment:1 Changed 6 years ago by gibson042

Component: unfiledmanipulation
Milestone: None1.next
Owner: set to gibson042
Priority: undecidedlow
Status: newassigned

comment:2 Changed 6 years ago by gibson042

Resolution: wontfix
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.