mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
feat(subParser/tables.js): add support for md span elements in table headers
Closes #179
This commit is contained in:
parent
bf4798a728
commit
8beec358f3
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user