aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAdam Wood <adam.michael.wood@gmail.com>2016-10-26 10:17:38 -0700
committerWaylan Limberg <waylan.limberg@icloud.com>2016-10-26 13:17:38 -0400
commit0244474b2dbf15986891a8d700c7bb121dc6f55f (patch)
tree426f87e0814a05bb3989b2d8c08c5216b2dda84f /tests
parent251183ef2817dcf09f502bea15423f6e81c5e228 (diff)
downloadmarkdown-0244474b2dbf15986891a8d700c7bb121dc6f55f.tar.gz
markdown-0244474b2dbf15986891a8d700c7bb121dc6f55f.tar.bz2
markdown-0244474b2dbf15986891a8d700c7bb121dc6f55f.zip
lists are not tables - fixes #478 (#507)
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions/extra/tables.html7
-rw-r--r--tests/extensions/extra/tables.txt9
2 files changed, 13 insertions, 3 deletions
diff --git a/tests/extensions/extra/tables.html b/tests/extensions/extra/tables.html
index b5c08be..85d9940 100644
--- a/tests/extensions/extra/tables.html
+++ b/tests/extensions/extra/tables.html
@@ -250,4 +250,9 @@ Content Cell | Content Cell
<td>(<code>bar</code>) and <code>baz</code>.</td>
</tr>
</tbody>
-</table> \ No newline at end of file
+</table>
+<p>Lists are not tables</p>
+<ul>
+<li>this | should | not</li>
+<li>be | a | table</li>
+</ul> \ No newline at end of file
diff --git a/tests/extensions/extra/tables.txt b/tests/extensions/extra/tables.txt
index c9ca70a..c843918 100644
--- a/tests/extensions/extra/tables.txt
+++ b/tests/extensions/extra/tables.txt
@@ -45,7 +45,7 @@ Three spaces in front of a table:
| Content Cell | Content Cell |
Four spaces is a code block:
-
+
First Header | Second Header
------------ | -------------
Content Cell | Content Cell
@@ -74,4 +74,9 @@ A test for issue #440:
foo | bar
--- | ---
-foo | (`bar`) and `baz`. \ No newline at end of file
+foo | (`bar`) and `baz`.
+
+Lists are not tables
+
+ - this | should | not
+ - be | a | table