Skip to content

Commit 272c999

Browse files
committed
Fixed footnote extension test to handle new footnote reference link labels.
1 parent bf76871 commit 272c999

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

test/extensions.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -672,31 +672,31 @@ Hi!
672672

673673
[^unused]: This is unused.
674674
.
675-
<p>This is some text!<sup class="footnote-ref"><a href="#fn1" id="fnref1">1</a></sup>. Other text.<sup class="footnote-ref"><a href="#fn2" id="fnref2">2</a></sup>.</p>
676-
<p>Here's a thing<sup class="footnote-ref"><a href="#fn3" id="fnref3">3</a></sup>.</p>
677-
<p>And another thing<sup class="footnote-ref"><a href="#fn4" id="fnref4">4</a></sup>.</p>
675+
<p>This is some text!<sup class="footnote-ref"><a href="#fn:1" id="fnref:1">1</a></sup>. Other text.<sup class="footnote-ref"><a href="#fn:footnote" id="fnref:footnote">2</a></sup>.</p>
676+
<p>Here's a thing<sup class="footnote-ref"><a href="#fn:other-note" id="fnref:other-note">3</a></sup>.</p>
677+
<p>And another thing<sup class="footnote-ref"><a href="#fn:codeblock-note" id="fnref:codeblock-note">4</a></sup>.</p>
678678
<p>This doesn't have a referent[^nope].</p>
679679
<p>Hi!</p>
680680
<section class="footnotes">
681681
<ol>
682-
<li id="fn1">
683-
<p>Some <em>bolded</em> footnote definition. <a href="#fnref1" class="footnote-backref">↩</a></p>
682+
<li id="fn:1">
683+
<p>Some <em>bolded</em> footnote definition. <a href="#fnref:1" class="footnote-backref">↩</a></p>
684684
</li>
685-
<li id="fn2">
685+
<li id="fn:footnote">
686686
<blockquote>
687687
<p>Blockquotes can be in a footnote.</p>
688688
</blockquote>
689689
<pre><code>as well as code blocks
690690
</code></pre>
691-
<p>or, naturally, simple paragraphs. <a href="#fnref2" class="footnote-backref">↩</a></p>
691+
<p>or, naturally, simple paragraphs. <a href="#fnref:footnote" class="footnote-backref">↩</a></p>
692692
</li>
693-
<li id="fn3">
694-
<p>no code block here (spaces are stripped away) <a href="#fnref3" class="footnote-backref">↩</a></p>
693+
<li id="fn:other-note">
694+
<p>no code block here (spaces are stripped away) <a href="#fnref:other-note" class="footnote-backref">↩</a></p>
695695
</li>
696-
<li id="fn4">
696+
<li id="fn:codeblock-note">
697697
<pre><code>this is now a code block (8 spaces indentation)
698698
</code></pre>
699-
<a href="#fnref4" class="footnote-backref">↩</a>
699+
<a href="#fnref:codeblock-note" class="footnote-backref">↩</a>
700700
</li>
701701
</ol>
702702
</section>

0 commit comments

Comments
 (0)