diff --git a/dataRender/ellipsis.js b/dataRender/ellipsis.js index f73455e..186e9e5 100644 --- a/dataRender/ellipsis.js +++ b/dataRender/ellipsis.js @@ -50,10 +50,10 @@ jQuery.fn.dataTable.render.ellipsis = function ( cutoff, wordbreak, escapeHtml ) { var esc = function ( t ) { return t - .replace( /&/, '&' ) - .replace( //, '>' ) - .replace( /"/, '"' ); + .replace( /&/g, '&' ) + .replace( //g, '>' ) + .replace( /"/g, '"' ); }; return function ( d, type, row ) {