jQuery.fn.dataTable.render.ellipsis=function(e,t,r){var n=function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")};return function(s,a,i){if("display"!==a)return s;if("number"!=typeof s&&"string"!=typeof s)return s;if(s=s.toString(),s.length<=e)return r?n(s):s;var p=s.substr(0,e-1);return t&&(p=p.replace(/\s([^\s]*)$/,"")),r&&(p=n(p)),'<div class="wpie-datatable-row-text"><span class="wpie-ellipsis" content="'+n(s)+'" shortened="'+p+' " >'+p+'</span> <span class="wpie_show_more_text">'+n(wpiePluginSettings.wpieLocalizeText.showMoreText)+"</span></div>"}};