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 += '<b> </b>';