1
0
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:
Allan Jardine 2014-03-26 16:30:51 +00:00
parent af7f2780f4
commit 6a033ad09b
2 changed files with 6 additions and 4 deletions

View File

@ -1 +1 @@
f21e58d17a7dba6644b7fb8381354fa351043017
46d1f3bbf2385d6918482953c6b3ee5ff64ba988

View File

@ -13787,7 +13787,9 @@
// html
"html-pre": function ( a ) {
return a.replace ?
return ! a ?
'' :
a.replace ?
a.replace( /<.*?>/g, "" ).toLowerCase() :
a+'';
},