kossnocorp/role

Parse @ in attribute values correctly

tonyganch opened this issue · 1 comments

Assuming i have this element in DOM:

<div data-email="panda@nani.com"></div>

when I try to find it with jQuery:

$('[data-email="panda@nani.com"]').length;

I get nothing:

> 0

Thanks for reporting! I'll try to write correct regexp to get round this problem.