test/testcases/span/04_footnote/backlink_inline.html in kramdown-2.1.0 vs test/testcases/span/04_footnote/backlink_inline.html in kramdown-2.2.0

- old
+ new

@@ -1,32 +1,32 @@ -<p>This is <sup id="fnref:paragraph"><a href="#fn:paragraph" class="footnote">1</a></sup><sup id="fnref:header"><a href="#fn:header" class="footnote">2</a></sup><sup id="fnref:blockquote"><a href="#fn:blockquote" class="footnote">3</a></sup><sup id="fnref:codeblock"><a href="#fn:codeblock" class="footnote">4</a></sup><sup id="fnref:list"><a href="#fn:list" class="footnote">5</a></sup><sup id="fnref:table"><a href="#fn:table" class="footnote">6</a></sup><sup id="fnref:hrule"><a href="#fn:hrule" class="footnote">7</a></sup><sup id="fnref:mathblock"><a href="#fn:mathblock" class="footnote">8</a></sup><sup id="fnref:html"><a href="#fn:html" class="footnote">9</a></sup></p> +<p>This is <sup id="fnref:paragraph" role="doc-noteref"><a href="#fn:paragraph" class="footnote">1</a></sup><sup id="fnref:header" role="doc-noteref"><a href="#fn:header" class="footnote">2</a></sup><sup id="fnref:blockquote" role="doc-noteref"><a href="#fn:blockquote" class="footnote">3</a></sup><sup id="fnref:codeblock" role="doc-noteref"><a href="#fn:codeblock" class="footnote">4</a></sup><sup id="fnref:list" role="doc-noteref"><a href="#fn:list" class="footnote">5</a></sup><sup id="fnref:table" role="doc-noteref"><a href="#fn:table" class="footnote">6</a></sup><sup id="fnref:hrule" role="doc-noteref"><a href="#fn:hrule" class="footnote">7</a></sup><sup id="fnref:mathblock" role="doc-noteref"><a href="#fn:mathblock" class="footnote">8</a></sup><sup id="fnref:html" role="doc-noteref"><a href="#fn:html" class="footnote">9</a></sup></p> -<div class="footnotes"> +<div class="footnotes" role="doc-endnotes"> <ol> - <li id="fn:paragraph"> + <li id="fn:paragraph" role="doc-endnote"> - <p>A paragraph <a href="#fnref:paragraph" class="reversefootnote">&#8617;</a></p> + <p>A paragraph <a href="#fnref:paragraph" class="reversefootnote" role="doc-backlink">&#8617;</a></p> </li> - <li id="fn:header"> + <li id="fn:header" role="doc-endnote"> - <h1 id="a-header">A header <a href="#fnref:header" class="reversefootnote">&#8617;</a></h1> + <h1 id="a-header">A header <a href="#fnref:header" class="reversefootnote" role="doc-backlink">&#8617;</a></h1> </li> - <li id="fn:blockquote"> + <li id="fn:blockquote" role="doc-endnote"> <blockquote> <p>blockquote</p> - <p>paragraph <a href="#fnref:blockquote" class="reversefootnote">&#8617;</a></p> + <p>paragraph <a href="#fnref:blockquote" class="reversefootnote" role="doc-backlink">&#8617;</a></p> </blockquote> </li> - <li id="fn:codeblock"> + <li id="fn:codeblock" role="doc-endnote"> <pre><code>codeblock </code></pre> - <p><a href="#fnref:codeblock" class="reversefootnote">&#8617;</a></p> + <p><a href="#fnref:codeblock" class="reversefootnote" role="doc-backlink">&#8617;</a></p> </li> - <li id="fn:list"> + <li id="fn:list" role="doc-endnote"> <ul> <li>item 1</li> <li>item 2 <ul> @@ -34,18 +34,18 @@ <p>sub item</p> <blockquote> <p>blockquote</p> - <h1 id="header">header <a href="#fnref:list" class="reversefootnote">&#8617;</a></h1> + <h1 id="header">header <a href="#fnref:list" class="reversefootnote" role="doc-backlink">&#8617;</a></h1> </blockquote> </li> </ul> </li> </ul> </li> - <li id="fn:table"> + <li id="fn:table" role="doc-endnote"> <table> <tbody> <tr> <td>a</td> @@ -55,25 +55,25 @@ <td>c</td> <td>d</td> </tr> </tbody> </table> - <p><a href="#fnref:table" class="reversefootnote">&#8617;</a></p> + <p><a href="#fnref:table" class="reversefootnote" role="doc-backlink">&#8617;</a></p> </li> - <li id="fn:hrule"> + <li id="fn:hrule" role="doc-endnote"> <hr /> - <p><a href="#fnref:hrule" class="reversefootnote">&#8617;</a></p> + <p><a href="#fnref:hrule" class="reversefootnote" role="doc-backlink">&#8617;</a></p> </li> - <li id="fn:mathblock"> + <li id="fn:mathblock" role="doc-endnote"> - <script type="math/tex; mode=display">x + 2</script> - <p><a href="#fnref:mathblock" class="reversefootnote">&#8617;</a></p> +\[x + 2\] + <p><a href="#fnref:mathblock" class="reversefootnote" role="doc-backlink">&#8617;</a></p> </li> - <li id="fn:html"> + <li id="fn:html" role="doc-endnote"> <div>test </div> - <p><a href="#fnref:html" class="reversefootnote">&#8617;</a></p> + <p><a href="#fnref:html" class="reversefootnote" role="doc-backlink">&#8617;</a></p> </li> </ol> </div>