aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/command/5986.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/command/5986.md b/test/command/5986.md
new file mode 100644
index 000000000..b1545c050
--- /dev/null
+++ b/test/command/5986.md
@@ -0,0 +1,16 @@
+```
+% pandoc -t epub --number-sections --toc --metadata title=Foo | pandoc -f epub -t html
+# Hi
+^D
+<p><span id="title_page.xhtml"></span></p>
+<p><span id="nav.xhtml"></span></p>
+<nav type="landmarks" id="landmarks" hidden="hidden">
+<ol>
+<li><a href="#nav.xhtml#toc">Table of contents</a></li>
+</ol>
+</nav>
+<p><span id="ch001.xhtml"></span></p>
+<section id="ch001.xhtml#hi" class="level1 section" data-number="1">
+<h1 data-number="1"><span class="header-section-number">1</span> Hi</h1>
+</section>
+```