From 5ec75c459b4e05fc5a24a0bc0b6d11f3d64903c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Soares=20dos=20Santos?= Date: Sat, 11 Jul 2015 19:50:26 +0100 Subject: [PATCH] fix(subparsers/tables.js): fix parser order so that tables include all spanGamut elements --- dist/showdown.js | Bin 60912 -> 60957 bytes dist/showdown.js.map | Bin 191960 -> 192080 bytes dist/showdown.min.js | Bin 20653 -> 20675 bytes dist/showdown.min.js.map | Bin 23564 -> 23606 bytes src/converter.js | 1 - src/subParsers/blockGamut.js | 1 + test/features/tables/with-span-elements.html | 26 +++++++++++++++++++ test/features/tables/with-span-elements.md | 9 +++++++ 8 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 test/features/tables/with-span-elements.html create mode 100644 test/features/tables/with-span-elements.md diff --git a/dist/showdown.js b/dist/showdown.js index 6731a4362e3438c860959228c6efac950ff5d97d..a3a24da2e7c2c577ecdd516e5da62a9cd0139dac 100644 GIT binary patch delta 36 ucmV+<0NelY+XJ241F-ofvkNEeE(CO8Vr-LvRvweC&mEI2vZVfDwNH delta 28 kcmbPxhxx;8<_$m9I7$+ea#D-cbvD0O`=+;9CG6*P0LDWNnE(I) diff --git a/dist/showdown.js.map b/dist/showdown.js.map index d180338e260db5cedcbfbae31c85226449d79e2c..2e2415417711eb983f2b17734cad68e55e01b233 100644 GIT binary patch delta 82 zcmV-Y0ImPn+Y8X#3$QU$vrAKyF#&9|;DiGvmzb*oWtZFm0SdG2st5#^4X^o^_14aVXr=NErHUIzs delta 120 zcmV-;0Ehq3+zZ&-3$QU$lP4Yx0cx`)Q=l;eZdFE?v0ecwm#`uM3X^ay3X{-L1d~rN z2A9x}0Sc2q$PSl)$^j6Qkf9EfAQS|%NriwVvo5O=1OYXJL9e$#uK{CZ2y|g$Y-MvN aEVr2x0-`dPjIRO+mqbPaH@CV*0+y$2Mk}QN diff --git a/dist/showdown.min.js b/dist/showdown.min.js index 4e22f0d533a7bcb7feb224d06a288e09f892cf21..230391ba6185b7bd94f03f57924acf1bce59247f 100644 GIT binary patch delta 29 lcmZ3xkn!+B#tnCcH$M|L + + + First Header + Second Header + + + + + bold + img + + + italic + link + + + some code + google + + + www.foo.com + normal + + + \ No newline at end of file diff --git a/test/features/tables/with-span-elements.md b/test/features/tables/with-span-elements.md new file mode 100644 index 0000000..6a918e6 --- /dev/null +++ b/test/features/tables/with-span-elements.md @@ -0,0 +1,9 @@ +| First Header | Second Header | +| ------------- | ----------------- | +| **bold** | ![img](foo.jpg) | +| _italic_ | [link](bla.html) | +| `some code` | [google][1] | +| | normal | + + + [1]: www.google.com