Skip to content

Commit

Permalink
Add a failing testcase for issue Python-Markdown#440.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya57 committed Nov 7, 2015
1 parent 5deee37 commit 14a0453
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
15 changes: 15 additions & 0 deletions tests/extensions/extra/tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,4 +235,19 @@ <h2>Table Tests</h2>
<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>
8 changes: 7 additions & 1 deletion tests/extensions/extra/tables.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
words |```` some ` | ` code ```` | more words

A test for issue #440:

foo | bar
--- | ---
foo | (`bar`) and `baz`.

0 comments on commit 14a0453

Please sign in to comment.