Opened 17 years ago
Closed 17 years ago
#34 closed bug (fixed)
.text function does not work ok
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | core | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The .text function does not work ok on all cases. For example for the dom corresponfing to the xml: <image> <filename>img.jpg</filename> </image> the current implementation of .text function will fail to return the img.jpg text. It works if I replace the line
jQuery.fn.text(e[j].childNodes[i].childNodes);
with:
jQuery.fn.text([e[j].childNodes[i]]);
Change History (2)
comment:1 Changed 17 years ago by
Milestone: | → 1.0 |
---|---|
Version: | → 1.0 |
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in SVN rev 120.