Add command test for #7884.
This commit is contained in:
parent
7a888e8603
commit
03c6025379
1 changed files with 72 additions and 0 deletions
72
test/command/7884.md
Normal file
72
test/command/7884.md
Normal file
|
@ -0,0 +1,72 @@
|
|||
```
|
||||
% pandoc -f html+epub_html_exts -t native
|
||||
<body epub:type="bodymatter">
|
||||
<section id="chapter-1" class="level1" data-number="1">
|
||||
<h1 data-number="1">Chapter 1</h1>
|
||||
<p>Here is a footnote.<a href="#fn1" class="footnote-ref" id="fnref1" epub:type="noteref">1</a></p>
|
||||
<p>Here is a second footnote.<a href="#fn2" class="footnote-ref" id="fnref2" epub:type="noteref">2</a></p>
|
||||
</section>
|
||||
<section class="footnotes footnotes-end-of-document" epub:type="footnotes">
|
||||
<hr />
|
||||
<ol>
|
||||
<li id="fn1" epub:type="footnote"><p>This is a test<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
|
||||
<li id="fn2" epub:type="footnote"><p>This is another test<a href="#fnref2" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
|
||||
</ol>
|
||||
</section>
|
||||
</body>
|
||||
^D
|
||||
[ Div
|
||||
( "chapter-1"
|
||||
, [ "section" , "level1" ]
|
||||
, [ ( "number" , "1" ) ]
|
||||
)
|
||||
[ Header
|
||||
1
|
||||
( "chapter-1" , [] , [ ( "number" , "1" ) ] )
|
||||
[ Str "Chapter" , Space , Str "1" ]
|
||||
, Para
|
||||
[ Str "Here"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "footnote."
|
||||
, Note
|
||||
[ Para
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "test"
|
||||
]
|
||||
]
|
||||
]
|
||||
, Para
|
||||
[ Str "Here"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "second"
|
||||
, Space
|
||||
, Str "footnote."
|
||||
, Note
|
||||
[ Para
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "another"
|
||||
, Space
|
||||
, Str "test"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
```
|
Loading…
Reference in a new issue