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.html4 | |
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.html4')
-rw-r--r-- | test/writer.html4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/writer.html4 b/test/writer.html4 index 215a1efb9..257d86ddb 100644 --- a/test/writer.html4 +++ b/test/writer.html4 @@ -665,7 +665,7 @@ Blah <li>And in list items.<a href="#fn5" class="footnote-ref" id="fnref5"><sup>5</sup></a></li> </ol> <p>This paragraph should not be part of the note, as it is not indented.</p> -<div class="footnotes"> +<div class="footnotes footnotes-end-of-document"> <hr /> <ol> <li id="fn1"><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">↩︎</a></p></li> |