feat(subParser/tables.js): add support for md span elements in table headers

Closes #179
This commit is contained in:
Estevão Soares dos Santos 2015-07-22 12:03:38 +01:00
parent bf4798a728
commit 8beec358f3

View File

@ -15,6 +15,7 @@ showdown.subParser('tables', function (text, options, globals) {
if (options.tableHeaderId) { if (options.tableHeaderId) {
id = ' id="' + header.replace(/ /g, '_').toLowerCase() + '"'; id = ' id="' + header.replace(/ /g, '_').toLowerCase() + '"';
} }
header = showdown.subParser('spanGamut')(header, options, globals);
if (!style || style.trim() === '') { if (!style || style.trim() === '') {
style = ''; style = '';
} else { } else {