Skip to main content

Bug Tracker

Side navigation

#78 closed bug (worksforme)

Opened July 18, 2006 02:12PM UTC

Closed August 14, 2006 07:58PM UTC

Last modified June 21, 2007 04:38AM UTC

contains() doesn't work with text with spaces

Reported by: john Owned by:
Priority: major Milestone: 1.0
Component: core Version: 1.0
Keywords: Cc:
Blocked by: Blocking:
Description

The :contains() selector works well with most text but fails to find a match when it contains space characters.

Can anyone provide a fix for matching text such as LI:contains('hello there') in markup such as <li>blah blah hello there blah</li> ?

I have been uable to come up with a suitable fix for the RegEx myself

Attachments (0)
Change History (1)

Changed August 14, 2006 07:58PM UTC by john comment:1

resolution: → worksforme
status: newclosed

I created a test case for this and it works for me... must be related to something else.