hasClass doesn't work with carriage return or tab
|Reported by:||batiste||Owned by:|
className attribute in a element could contain carriage return or tab. jQuery hasClass doesn't work properly with them.
Here is a complete fix, with some doc, and tests integrated to the suite:
The performance impact should remain small because I just added a variable declaration and 2 replace call.