mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-19 17:54:14 +01:00
Fix: Remove escaping of quotes for search input
* Previously the filter builder was created as a string, so we had to escape quotes, otherwise it could create invalid HTML. That is no longer the case as we are using jQuery DOM manipulation, so the escape is redundant and potentially harmful * See thread 21197
This commit is contained in:
parent
d6b54b4cde
commit
de1d6541ef
@ -1 +1 @@
|
||||
6e60b4ee7b7683c94165c56e5b6a961100d60501
|
||||
77ee28e07cf8b949f2650b800e0fca791d4b767f
|
||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -2664,7 +2664,7 @@
|
||||
}
|
||||
};
|
||||
var jqFilter = $('input', filter)
|
||||
.val( previousSearch.sSearch.replace('"','"') )
|
||||
.val( previousSearch.sSearch )
|
||||
.bind(
|
||||
'keyup.DT search.DT input.DT paste.DT cut.DT',
|
||||
_fnDataSource( settings ) === 'ssp' ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user