summaryrefslogtreecommitdiff
path: root/test/command/3596.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/3596.md')
-rw-r--r--test/command/3596.md59
1 files changed, 59 insertions, 0 deletions
diff --git a/test/command/3596.md b/test/command/3596.md
new file mode 100644
index 000000000..01a871e1b
--- /dev/null
+++ b/test/command/3596.md
@@ -0,0 +1,59 @@
+```
+% pandoc -f html -t markdown-raw_html-bracketed_spans-native_spans
+<ul>
+<li>foo</li>
+<li id="id">bar</li>
+<li>baz</li>
+</ul>
+^D
+- foo
+- bar
+- baz
+```
+
+```
+% pandoc -f html -t markdown-raw_html-bracketed_spans-native_spans
+<ul>
+<li>foo</li>
+<li id="id">bar<ul><li>subbar</li></ul></li>
+<li>baz</li>
+</ul>
+^D
+- foo
+- bar
+ - subbar
+- baz
+```
+
+
+```
+% pandoc -f html -t markdown
+<ul>
+<li>foo</li>
+<li id="id">bar</li>
+<li>baz</li>
+</ul>
+^D
+- foo
+- [bar]{#id}
+- baz
+```
+
+
+```
+% pandoc -f html -t markdown
+<ul>
+<li><p>foo</p></li>
+<li id="id"><p>bar</p></li>
+<li><p>baz</p></li>
+</ul>
+^D
+- foo
+
+- ::: {#id}
+ bar
+ :::
+
+- baz
+
+```