diff --git a/dataRender/anchor.js b/dataRender/anchor.js index 58b7510..0d8af55 100644 --- a/dataRender/anchor.js +++ b/dataRender/anchor.js @@ -69,9 +69,9 @@ jQuery.fn.dataTable.render.anchor = function ( } } - var $a = jQuery(''); - $a.attr(tagAttributes).text(innerText === null ? data : innerText).get(0).outerText; + var $a = jQuery(''); + $a.attr(tagAttributes).text(innerText === null ? data : innerText); - return $a[0]; + return $a[0].outerText; }; };