Opened 10 years ago
Closed 10 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).
This being an API change, a fix should not be introduced before 1.11 and 2.1.
Change History (2)
comment:1 Changed 10 years ago by
Component: | unfiled → manipulation |
---|---|
Milestone: | None → 1.next |
Owner: | set to gibson042 |
Priority: | undecided → low |
Status: | new → assigned |
comment:2 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
On second thought, this is probably just stirring up a hornets' nest.
.replaceWith
can be addressed more specifically.