diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-02-09 12:31:18 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-02-09 12:31:18 -0800 |
| commit | 03c602537938681123bbff7ee456c7fe93319f9f (patch) | |
| tree | d7584b2551ccd2935685cbf3fccc1230a25e5a96 /test/command | |
| parent | 7a888e8603f70351094b0725fba76c4111e72dac (diff) | |
Add command test for #7884.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/7884.md | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/test/command/7884.md b/test/command/7884.md new file mode 100644 index 000000000..be410801a --- /dev/null +++ b/test/command/7884.md @@ -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" + ] + ] + ] + ] +] + +``` |
