1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-15 16:29:16 +01:00

Fix: When using bDeferRender HTML in the target cell would be used as text rather than HTML when doing the width calculations - making them completely wrong - 4879

This commit is contained in:
Allan Jardine 2011-05-09 17:47:18 +01:00
parent c8572df07a
commit c125efebc9

View File

@ -5658,9 +5658,7 @@
if ( oSettings.aoData[iMaxIndex].nTr === null )
{
var n = document.createElement('td');
n.appendChild( document.createTextNode(
_fnGetCellData( oSettings, iMaxIndex, iCol, '' ) )
);
n.innerHTML = _fnGetCellData( oSettings, iMaxIndex, iCol, '' );
return n;
}
return _fnGetTdNodes(oSettings, iMaxIndex)[iVis];