aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/extra/footnote.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2010-08-25 11:06:17 -0400
committerWaylan Limberg <waylan@gmail.com>2010-08-25 11:06:17 -0400
commit5ee12763465d123a313d43fc0fb497636f727d34 (patch)
treed758f37eef3fa689cbc3c31af72a0f71bbb7d500 /tests/extensions/extra/footnote.html
parent45e77f48b380c97ff07f050a4a1b9041a0784050 (diff)
downloadmarkdown-5ee12763465d123a313d43fc0fb497636f727d34.tar.gz
markdown-5ee12763465d123a313d43fc0fb497636f727d34.tar.bz2
markdown-5ee12763465d123a313d43fc0fb497636f727d34.zip
Fixed Ticket 70 and added a test. Footnote references whithout a coresponding definition no longer raise an error. They now pass through as plain text - which is the same behavior as PHP Markdown Extra. Thanks for the report Benjamin Bach.
Diffstat (limited to 'tests/extensions/extra/footnote.html')
-rw-r--r--tests/extensions/extra/footnote.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/extensions/extra/footnote.html b/tests/extensions/extra/footnote.html
index 6556dab..d7d8b92 100644
--- a/tests/extensions/extra/footnote.html
+++ b/tests/extensions/extra/footnote.html
@@ -1,4 +1,5 @@
<p>This is the body with a footnote<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup> or two<sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup> or more<sup id="fnref:3"><a href="#fn:3" rel="footnote">3</a></sup> <sup id="fnref:4"><a href="#fn:4" rel="footnote">4</a></sup>.</p>
+<p>Also a reference that does not exist[^5].</p>
<div class="footnote">
<hr />
<ol>