mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
Fix: Filtering doesn't deal with carriage returns - 6313 - thanks to Jonathan Camp for this fix.
This commit is contained in:
parent
2c14233057
commit
1f02ac87fc
4
media/js/jquery.dataTables.js
vendored
4
media/js/jquery.dataTables.js
vendored
@ -4606,11 +4606,11 @@
|
||||
}
|
||||
else if ( sType == "html" )
|
||||
{
|
||||
return sData.replace(/\n/g," ").replace( /<.*?>/g, "" );
|
||||
return sData.replace(/[\r\n]/g," ").replace( /<.*?>/g, "" );
|
||||
}
|
||||
else if ( typeof sData == "string" )
|
||||
{
|
||||
return sData.replace(/\n/g," ");
|
||||
return sData.replace(/[\r\n]/g," ");
|
||||
}
|
||||
else if ( sData === null )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user