pyquery icon indicating copy to clipboard operation
pyquery copied to clipboard

xpath_contains_function behaves differently from jQuery

Open flisky opened this issue 13 years ago • 1 comments

Hi @gawel,

xpath.add_post_condition("contains(text(), '%s')" % value) in here , does not match the children's text.

A possible fix comes from Is there a way to get all the children's text in xpath - contains(normalize-space(), '%s')

Thanks,

flisky avatar Apr 26 '13 10:04 flisky

Unfortunatly this break some tests

gawel avatar Apr 26 '13 10:04 gawel