summaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-03-14 21:39:32 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2023-03-14 21:49:05 -0700
commit1bfab1d11ecf65362c0e8fde98a66c0e6f08f258 (patch)
tree503f014f5307c57a597d63c37c2bd70d06f1152c /test/Tests
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/Tests')
-rw-r--r--test/Tests/Writers/HTML.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Tests/Writers/HTML.hs b/test/Tests/Writers/HTML.hs
index 3ec7a866d..ea313b862 100644
--- a/test/Tests/Writers/HTML.hs
+++ b/test/Tests/Writers/HTML.hs
@@ -193,7 +193,6 @@ tests =
, "<p>A note inside a block quote.<a href=\"#fn2\" class=\"footnote-ref\" id=\"fnref2\"><sup>2</sup></a></p>"
, "<p>A second paragraph.</p>"
, "</blockquote>"
- , "</div>"
, "<div class=\"footnotes footnotes-end-of-section\">"
, "<hr />"
, "<ol>"
@@ -201,6 +200,7 @@ tests =
, "<li id=\"fn2\"><p>The second note.<a href=\"#fnref2\" class=\"footnote-back\">↩︎</a></p></li>"
, "</ol>"
, "</div>"
+ , "</div>"
, "<div class=\"section level2\">"
, "<h2>Second section</h2>"
, "<p>Some more text.</p>"