test/testcases/span/04_footnote/footnote_nr.html in kramdown-2.1.0 vs test/testcases/span/04_footnote/footnote_nr.html in kramdown-2.2.0
- old
+ new
@@ -1,12 +1,12 @@
-<p>This is a footnote<sup id="fnref:ab"><a href="#fn:ab" class="footnote">35</a></sup>. And another<sup id="fnref:bc"><a href="#fn:bc" class="footnote">36</a></sup>.</p>
+<p>This is a footnote<sup id="fnref:ab" role="doc-noteref"><a href="#fn:ab" class="footnote">35</a></sup>. And another<sup id="fnref:bc" role="doc-noteref"><a href="#fn:bc" class="footnote">36</a></sup>.</p>
-<div class="footnotes">
+<div class="footnotes" role="doc-endnotes">
<ol start="35">
- <li id="fn:ab">
- <p>Some text. <a href="#fnref:ab" class="reversefootnote">↩</a></p>
+ <li id="fn:ab" role="doc-endnote">
+ <p>Some text. <a href="#fnref:ab" class="reversefootnote" role="doc-backlink">↩</a></p>
</li>
- <li id="fn:bc">
- <p>Some other text. <a href="#fnref:bc" class="reversefootnote">↩</a></p>
+ <li id="fn:bc" role="doc-endnote">
+ <p>Some other text. <a href="#fnref:bc" class="reversefootnote" role="doc-backlink">↩</a></p>
</li>
</ol>
</div>