Skip to main content

Bug Tracker

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]]);

Attachments (0)
Change History (2)

Changed July 04, 2006 09:41PM UTC by john comment:1

milestone: → 1.0
version: → 1.0

Changed July 05, 2006 02:01AM UTC by john comment:2

resolution: → fixed
status: newclosed

Fixed in SVN rev 120.