Side navigation
#3435 closed bug (fixed)
Opened October 01, 2008 01:32PM UTC
Closed October 29, 2010 02:48PM UTC
WebKit browsers can't find() using expression with escaped character
Reported by: | garyf | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.3 |
Component: | selector | Version: | 1.2.6 |
Keywords: | find,webkit,safari,chrome,expressions,escape,escaped,characters | Cc: | |
Blocked by: | Blocking: |
Description
I have some code to extract text from an RSS feed including a node containing georss data (geographical coordinates) called georss:point.
IE and Gecko browsers are able to use find('georss\\\\:point').text() to extract the text but WebKit browsers (Chrome/Safari3) totally fail to find it.
I'm wondering if escaped characters in find() expressions aren't compatible with WebKit?
I've attached two files which reproduce the problem. IE/FF will show the extracted geo coordinates correctly. (Please point the script to your local copy of jquery.js)
Opera doesn't like it either and nor does FireFox 2.
So it's just IE 6+7 and FF 3 that works well with this method.
Opera 9, FF 2, Safari 3, Chrome 1 don't like it. Is there any other way to achieve the same goal that's x-browser compatible? Thanks.