Skip to content

Commit f5ba798

Browse files
committed
test: adjusting tests from #274
1 parent a62c9cb commit f5ba798

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/tests.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,20 +1083,20 @@ fn footnote_with_superscript() {
10831083
"[^ref]: Here is another footnote.\n",
10841084
),
10851085
concat!(
1086-
"<p>Here is a footnote reference.<sup class=\"footnote-ref\"><a href=\"#fn1\" \
1087-
id=\"fnref1\">1</a></sup></p>\n",
1088-
"<p>Here is a longer footnote reference.<sup class=\"footnote-ref\"><a href=\"#fn2\" \
1089-
id=\"fnref2\">2</a></sup></p>\n",
1086+
"<p>Here is a footnote reference.<sup class=\"footnote-ref\"><a href=\"#fn-1\" \
1087+
id=\"fnref-1\" data-footnote-ref>1</a></sup></p>\n",
1088+
"<p>Here is a longer footnote reference.<sup class=\"footnote-ref\"><a href=\"#fn-2\" \
1089+
id=\"fnref-2\" data-footnote-ref>2</a></sup></p>\n",
10901090
"<p>e = mc<sup>2</sup>.</p>\n",
1091-
"<section class=\"footnotes\">\n",
1091+
"<section class=\"footnotes\" data-footnotes>\n",
10921092
"<ol>\n",
1093-
"<li id=\"fn1\">\n",
1094-
"<p>Here is the footnote. <a href=\"#fnref1\" \
1095-
class=\"footnote-backref\">↩</a></p>\n",
1093+
"<li id=\"fn-1\">\n",
1094+
"<p>Here is the footnote. <a href=\"#fnref-1\" \
1095+
class=\"footnote-backref\" data-footnote-backref aria-label=\"Back to content\">↩</a></p>\n",
10961096
"</li>\n",
1097-
"<li id=\"fn2\">\n",
1098-
"<p>Here is another footnote. <a href=\"#fnref2\" \
1099-
class=\"footnote-backref\">↩</a></p>\n",
1097+
"<li id=\"fn-2\">\n",
1098+
"<p>Here is another footnote. <a href=\"#fnref-2\" \
1099+
class=\"footnote-backref\" data-footnote-backref aria-label=\"Back to content\">↩</a></p>\n",
11001100
"</li>\n",
11011101
"</ol>\n",
11021102
"</section>\n"

0 commit comments

Comments
 (0)