Filtering with HTML entities

Filtering with HTML entities

pshoegpshoeg Posts: 9Questions: 0Answers: 0
edited February 2013 in General
Hi there,

I tried asking this question a very long time ago, but got no responses, so I'm trying again since I still haven't found a solution.

I have a table where one column has text that looks something like this:

[code]

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Should work okay - can you link to a test case please?

    Here is an example: http://live.datatables.net/edeluc/edit#javascript,html . Type `<` in the filter and you should get two rows. The Trident row because I've added `<` into the HTML for that row. And the other one because of a bug in 1.9.4 ( :-( ). It doesn't remove the HTML before filtering, so you can actually filter on the HTML tags. This is fixed in git and will be in the next release. It was a bug introduced in 1.9.4 sadly.

    Allan
  • pshoegpshoeg Posts: 9Questions: 0Answers: 0
    edited February 2013
    Hi Allan,

    Thanks for replying so fast. I've sent you a message with the link. I should mention that I fetch the data using JSON, so maybe that's the issue?
This discussion has been closed.