Side navigation
#34 closed bug (fixed)
Opened July 04, 2006 03:24PM UTC
Closed July 05, 2006 02:01AM UTC
.text function does not work ok
Reported by: | mariusmuja@yahoo.com | 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]]);
Fixed in SVN rev 120.