output += cols[col].split(' ')[final ? 1 : 0];
}
else if (col < cols.length) {
- output += '<span>' + (cols[col] || ' ') + '</span>';
+ var final = cols[col] || ' ';
+ if (!/^<svg/.test(cols[col])) final = `<span>${final}</span>`;
+ output += final;
}
else {
- output += ' ';
+ output += '<b> </b>';
}
if (row.parentNode.tagName == 'THEAD') {
output += col < 26 ? ' ' : 'ยท '; // number separator