Ensure that data is string before escaping

pull/550/head
yaakovfeldman 2 years ago committed by GitHub
parent 4d3a6850b9
commit 40e3b46cd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,7 +49,7 @@
jQuery.fn.dataTable.render.ellipsis = function ( cutoff, wordbreak, escapeHtml ) {
var esc = function ( t ) {
return t
return ('' + t)
.replace( /&/g, '&' )
.replace( /</g, '&lt;' )
.replace( />/g, '&gt;' )

Loading…
Cancel
Save