From 8beec358f3cd39cb258c6da1d9cd00d409cacc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Soares=20dos=20Santos?= Date: Wed, 22 Jul 2015 12:03:38 +0100 Subject: [PATCH] feat(subParser/tables.js): add support for md span elements in table headers Closes #179 --- src/subParsers/tables.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/subParsers/tables.js b/src/subParsers/tables.js index 79e81c8e..104db35e 100644 --- a/src/subParsers/tables.js +++ b/src/subParsers/tables.js @@ -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 {