aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/extra/footnote.txt
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.txt
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.txt')
-rw-r--r--tests/extensions/extra/footnote.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/extensions/extra/footnote.txt b/tests/extensions/extra/footnote.txt
index 07188d0..9f89397 100644
--- a/tests/extensions/extra/footnote.txt
+++ b/tests/extensions/extra/footnote.txt
@@ -1,5 +1,7 @@
This is the body with a footnote[^1] or two[^2] or more[^3] [^4].
+Also a reference that does not exist[^5].
+
[^1]: Footnote that ends with a list:
* item 1