Bug Tracker

Opened 14 years ago

Closed 14 years ago

#34 closed bug (fixed)

.text function does not work ok

Reported by: mariusmuja@… 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 14 years ago by john

Milestone: 1.0
Version: 1.0

comment:2 Changed 14 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev 120.

Note: See TracTickets for help on using tickets.