diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-21 23:39:58 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-21 23:41:32 +0100 |
commit | 5d71e37f261ec2a6b48e95542aeb29228afa7c4b (patch) | |
tree | dba7bc6ae1ccfd4355e23844ff7dfc16eacdec8b /test | |
parent | f90b82d3d9e53ff005911252d1a9242bba0d5272 (diff) | |
download | pandoc-5d71e37f261ec2a6b48e95542aeb29228afa7c4b.tar.gz |
MediaWiki reader: ensure that list starts begin at left margin.
Including when they're in tables or other list items.
Closes #2606.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/2606.md | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/test/command/2606.md b/test/command/2606.md new file mode 100644 index 000000000..53eaa0d06 --- /dev/null +++ b/test/command/2606.md @@ -0,0 +1,58 @@ +``` +% pandoc -f mediawiki -t html5 +{| +| * hello +|} +^D +<table> +<tbody> +<tr class="odd"> +<td><p>* hello</p></td> +</tr> +</tbody> +</table> +``` + +``` +% pandoc -f mediawiki -t html5 +{| +| +* hello +|} +^D +<table> +<tbody> +<tr class="odd"> +<td><ul> +<li>hello</li> +</ul></td> +</tr> +</tbody> +</table> +``` + +``` +% pandoc -f mediawiki -t html5 +{| +| + * hello +|} +^D +<table> +<tbody> +<tr class="odd"> +<td><p><code>* hello</code></p></td> +</tr> +</tbody> +</table> +``` + +``` +% pandoc -f mediawiki -t html5 +* * hi +^D +<ul> +<li>* hi</li> +</ul> +``` + |