Skip to content

Commit

Permalink
feat(subParser/tables.js): add support for md span elements in table …
Browse files Browse the repository at this point in the history
…headers


Closes #179
  • Loading branch information
tivie committed Jul 22, 2015
1 parent bf4798a commit 8beec35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/subParsers/tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ showdown.subParser('tables', function (text, options, globals) {
if (options.tableHeaderId) {
id = ' id="' + header.replace(/ /g, '_').toLowerCase() + '"';
}
header = showdown.subParser('spanGamut')(header, options, globals);
if (!style || style.trim() === '') {
style = '';
} else {
Expand Down

0 comments on commit 8beec35

Please sign in to comment.