diff options
author | Francesco Mazzoli <f@mazzo.li> | 2021-09-10 18:30:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 09:30:05 -0700 |
commit | 99a4d1d0b06bb68e4d7a10acd642d439842004d1 (patch) | |
tree | f25abce6d8620d00fc43b9ee9db7b4b20432c7fb /test/writer.html5 | |
parent | 1481dae629b97c5b7ad28cd162e22a52c7647784 (diff) | |
download | pandoc-99a4d1d0b06bb68e4d7a10acd642d439842004d1.tar.gz |
Support `--reference-location` for HTML output (#7461)
The HTML writer now supports `EndOfBlock`, `EndOfSection`, and
`EndOfDocument` for reference locations. EPUB and HTML slide
show formats are also affected by this change.
This works similarly to the markdown writer, but with special care
taken to skipping section divs with what regards to the block level.
The change also takes care to not modify the output if `EndOfDocument`
is used.
Diffstat (limited to 'test/writer.html5')
-rw-r--r-- | test/writer.html5 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/writer.html5 b/test/writer.html5 index 387df4058..0141bf9fe 100644 --- a/test/writer.html5 +++ b/test/writer.html5 @@ -667,7 +667,7 @@ Blah <li>And in list items.<a href="#fn5" class="footnote-ref" id="fnref5" role="doc-noteref"><sup>5</sup></a></li> </ol> <p>This paragraph should not be part of the note, as it is not indented.</p> -<section class="footnotes" role="doc-endnotes"> +<section class="footnotes footnotes-end-of-document" role="doc-endnotes"> <hr /> <ol> <li id="fn1" role="doc-endnote"><p>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></p></li> |