aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
Diffstat (limited to 'test/command')
-rw-r--r--test/command/3057.md54
1 files changed, 54 insertions, 0 deletions
diff --git a/test/command/3057.md b/test/command/3057.md
new file mode 100644
index 000000000..b1f3a8c2e
--- /dev/null
+++ b/test/command/3057.md
@@ -0,0 +1,54 @@
+```
+% pandoc -f markdown -t docbook
+<div>
+# one
+<div>
+## two
+</div>
+</div>
+^D
+<section>
+ <title>one</title>
+ <section>
+ <title>two</title>
+ <para>
+ </para>
+ </section>
+</section>
+```
+
+```
+% pandoc -f markdown -t docbook
+<div>
+# one
+<div>
+# two
+</div>
+</div>
+^D
+<section>
+ <title>one</title>
+ <section>
+ <title>two</title>
+ <para>
+ </para>
+ </section>
+</section>
+```
+
+```
+% pandoc -f markdown -t docbook
+# one
+<div>
+# two
+</div>
+^D
+<section xml:id="one">
+ <title>one</title>
+ <section>
+ <title>two</title>
+ <para>
+ </para>
+ </section>
+</section>
+```