aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-12-17 10:24:43 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-12-17 11:59:52 -0800
commitb0c5ecbb1a5ff69944c39b54733797ad04d84da7 (patch)
tree36039108a7c3801c19c14379994e566e9f70384d /test/command
parent204c7bb943d712690911af869161e8c66789bc53 (diff)
downloadpandoc-b0c5ecbb1a5ff69944c39b54733797ad04d84da7.tar.gz
Added test for #5986.
Diffstat (limited to 'test/command')
-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>
+```