aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2015-11-07 20:28:35 +0300
committerDmitry Shachnev <mitya57@gmail.com>2015-11-07 20:28:35 +0300
commit14a045375e7ad1abdb037dd7c6c104964c8d25a8 (patch)
tree0531b08fb48af5f9edd20033e367e1bf0606afee /tests
parent5deee37e22192c8e6e0d55358eaa013494d20b2c (diff)
downloadmarkdown-14a045375e7ad1abdb037dd7c6c104964c8d25a8.tar.gz
markdown-14a045375e7ad1abdb037dd7c6c104964c8d25a8.tar.bz2
markdown-14a045375e7ad1abdb037dd7c6c104964c8d25a8.zip
Add a failing testcase for issue #440.
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions/extra/tables.html15
-rw-r--r--tests/extensions/extra/tables.txt8
2 files changed, 22 insertions, 1 deletions
diff --git a/tests/extensions/extra/tables.html b/tests/extensions/extra/tables.html
index 91337e5..783c205 100644
--- a/tests/extensions/extra/tables.html
+++ b/tests/extensions/extra/tables.html
@@ -235,4 +235,19 @@ Content Cell | Content Cell
<td>more words</td>
</tr>
</tbody>
+</table>
+<p>A test for issue #440:</p>
+<table>
+<thead>
+<tr>
+<th>foo</th>
+<th>bar</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>foo</td>
+<td>(<code>bar</code>) and <code>baz</code>.</td>
+</tr>
+</tbody>
</table> \ No newline at end of file
diff --git a/tests/extensions/extra/tables.txt b/tests/extensions/extra/tables.txt
index 1602d1f..c9ca70a 100644
--- a/tests/extensions/extra/tables.txt
+++ b/tests/extensions/extra/tables.txt
@@ -68,4 +68,10 @@ words |``` some | code ``` | more words
words |```` some | code ```` | more words
words |`` some ` | ` code `` | more words
words |``` some ` | ` code ``` | more words
-words |```` some ` | ` code ```` | more words \ No newline at end of file
+words |```` some ` | ` code ```` | more words
+
+A test for issue #440:
+
+foo | bar
+--- | ---
+foo | (`bar`) and `baz`. \ No newline at end of file