Html being included in numeric fields
Html being included in numeric fields
Hi,
I am currently getting an issue of HTML tags and anything inside the TD element being included in the search/filter when the main text of a TD only includes numeric values:
http://live.datatables.net/hajevaxo/1/edit
You can test it by searching for ‘isFound and ‘isNotFound’ to show the contrast between strings and numbers. You can also search for the anchor tags too ‘<a href…'
I also found this existing bug that appears to have not been resolved correctly during my searches:
http://datatables.net/forums/discussion/179/search-filter-finds-matches-in-html-tags
Can anyone offer any guidance on this? is it intended behavior?
This question has accepted answers - jump to:
Answers
No! That's a bug for sure. Oh well - 1.10.3 didn't stay bug free very long... (edit To clarify it isn't a bug in only 1.10.3, I think it will be from 1.10.0+).
I'll take a look into this soon. Thanks for the test case!
Allan
No problem and thanks for the prompt response. Is there any way I can check in on the progress/status of this (without annoying someone, that is)?
I've just committed a fix for this. Your test case was excellent!
Your test case, with the latest nightly is now running as expected: http://live.datatables.net/hajevaxo/5/edit .
Regards,
Allan
Thanks for the rapid and direct response, it is greatly appreciated. Tested the nightly in my localhost and it has corrected the issue :)