Opened 13 years ago
Closed 13 years ago
#6649 closed bug (invalid)
browser hangs up while $.append()
Reported by: | Mr Q.C. | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | manipulation | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
got problems while using $("some html").append("");
when "some html" is "<!-- ..... -->.....<!-- .... -->" maybe jquery searches for the "/" but in comments maybe it is not available.
Change History (1)
comment:1 Changed 13 years ago by
Component: | unfiled → manipulation |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
It's not possible to append anything to text and comment nodes, because neither can have children. I suppose jQuery could throw some sort of error for this case but it's sufficiently pathological that it is probably not worth it.