From 5ee12763465d123a313d43fc0fb497636f727d34 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 25 Aug 2010 11:06:17 -0400 Subject: 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. --- tests/extensions/extra/footnote.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/extensions/extra/footnote.txt') 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 -- cgit v1.2.3