mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-15 16:29:16 +01:00
Fix: HTML sorting formatter should cope with null data
This commit is contained in:
parent
af7f2780f4
commit
6a033ad09b
@ -1 +1 @@
|
|||||||
f21e58d17a7dba6644b7fb8381354fa351043017
|
46d1f3bbf2385d6918482953c6b3ee5ff64ba988
|
||||||
|
8
media/js/jquery.dataTables.js
vendored
8
media/js/jquery.dataTables.js
vendored
@ -13787,9 +13787,11 @@
|
|||||||
|
|
||||||
// html
|
// html
|
||||||
"html-pre": function ( a ) {
|
"html-pre": function ( a ) {
|
||||||
return a.replace ?
|
return ! a ?
|
||||||
a.replace( /<.*?>/g, "" ).toLowerCase() :
|
'' :
|
||||||
a+'';
|
a.replace ?
|
||||||
|
a.replace( /<.*?>/g, "" ).toLowerCase() :
|
||||||
|
a+'';
|
||||||
},
|
},
|
||||||
|
|
||||||
// string
|
// string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user