aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-03-14 21:39:32 -0700
committerJohn MacFarlane <[email protected]>2023-03-14 21:49:05 -0700
commit1bfab1d11ecf65362c0e8fde98a66c0e6f08f258 (patch)
tree503f014f5307c57a597d63c37c2bd70d06f1152c /test/command
parent03d80ccd38118d6e75e7d81e62545e95ed5fea3c (diff)
HTML writer footnotes changes:
When `--reference-location=section` or `=block`, use an `aside` element for the notes rather than a `section`. When `--reference-location=section`, include the `aside` element inside the section element, rather than outside. (In slide shows, this option causes footnotes on a slide to be displayed at the bottom of the slide.) Closes #8695.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/4235.md4
-rw-r--r--test/command/7006.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/command/4235.md b/test/command/4235.md
index 09db17eea..79114017f 100644
--- a/test/command/4235.md
+++ b/test/command/4235.md
@@ -4,12 +4,12 @@ This.^[Has a footnote.]
^D
<p>This.<a href="#foofn1" class="footnote-ref" id="foofnref1"
role="doc-noteref"><sup>1</sup></a></p>
-<section id="footnotes" class="footnotes footnotes-end-of-document"
+<aside id="footnotes" class="footnotes footnotes-end-of-document"
role="doc-endnotes">
<hr />
<ol>
<li id="foofn1"><p>Has a footnote.<a href="#foofnref1"
class="footnote-back" role="doc-backlink">↩︎</a></p></li>
</ol>
-</section>
+</aside>
```
diff --git a/test/command/7006.md b/test/command/7006.md
index 75f0faea7..a2b48c22c 100644
--- a/test/command/7006.md
+++ b/test/command/7006.md
@@ -8,7 +8,7 @@ Test.[^fn]
^D
<p>Test.<a href="#fn1" class="footnote-ref" id="fnref1"
role="doc-noteref"><sup>1</sup></a></p>
-<section id="footnotes" class="footnotes footnotes-end-of-document"
+<aside id="footnotes" class="footnotes footnotes-end-of-document"
role="doc-endnotes">
<hr />
<ol>
@@ -19,5 +19,5 @@ role="doc-endnotes">
</figure>
<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></li>
</ol>
-</section>
+</aside>
```