aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-08-23 22:06:39 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-08-23 22:06:39 -0700
commit3f9b7a10ad2de63f6a9c77ff361acf17f94d536b (patch)
tree5f19327c4161a4cfbe82118f1a86cc80af2822a3 /test/command
parent5a23f8ff3eaa4051da3371da50a11b601f27d889 (diff)
downloadpandoc-3f9b7a10ad2de63f6a9c77ff361acf17f94d536b.tar.gz
Markdown reader: fix interaction of --strip-comments and list
parsing. Use of `--strip-comments` was causing tight lists to be rendered as loose (as if the comment were a blank line). Closes #7521.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/7521.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/command/7521.md b/test/command/7521.md
new file mode 100644
index 000000000..38bc40482
--- /dev/null
+++ b/test/command/7521.md
@@ -0,0 +1,11 @@
+```
+% pandoc -- --strip-comments
+- one
+ <!-- with comm -->
+- two
+- ^D
+<ul>
+<li>one </li>
+<li>two</li>
+</ul>
+```