The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<p>Here is some text containing a footnote.<a href="#fn:somesamplefootnote" id="fnref:somesamplefootnote" class="footnote">1</a></p>

<blockquote>
  <p>And here is a footnote within a blockquote, should be labelled #2.<a href="#fn:secondnote" id="fnref:secondnote" class="footnote">2</a></p>
</blockquote>

<p>And this is a codeblock, that should not be a footnote:</p>

<pre><code>This is code.[^somesamplefootnote]
</code></pre>

<p>And this is a short footnote for testing.<a href="#fn:shortnote" id="fnref:shortnote" class="footnote">3</a></p>

<p>Test footnote, with a 2nd link part.<a href="#fn:1" id="fnref:1" class="footnote">4</a>[].</p>

<div class="footnotes">
<hr />
<ol>

<li id="fn:somesamplefootnote"><p>Here is the text of the footnote itself. It also has a <a href="http://somelink.com">link</a>.<a href="#fnref:somesamplefootnote" class="reversefootnote">&#160;&#8617;</a></p></li>

<li id="fn:secondnote"><p>Note # 2.<a href="#fnref:secondnote" class="reversefootnote">&#160;&#8617;</a></p></li>

<li id="fn:shortnote"><p>Finis<a href="#fnref:shortnote" class="reversefootnote">&#160;&#8617;</a></p></li>

<li id="fn:1"><p>This is a footnote.<a href="#fnref:1" class="reversefootnote">&#160;&#8617;</a></p></li>

</ol>
</div>