From 79a2446b57efa50e83b9aa27f9ec249e31e2e401 Mon Sep 17 00:00:00 2001 From: Sunny Walker Date: Fri, 12 Oct 2018 09:25:35 -1000 Subject: [PATCH] test invalid footnote names with whitespace --- test/resources/php-markdown-extra.mdtest/Footnotes.text | 6 ++++++ test/resources/php-markdown-extra.mdtest/Footnotes.xhtml | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/test/resources/php-markdown-extra.mdtest/Footnotes.text b/test/resources/php-markdown-extra.mdtest/Footnotes.text index 95b5ea8..c54e436 100644 --- a/test/resources/php-markdown-extra.mdtest/Footnotes.text +++ b/test/resources/php-markdown-extra.mdtest/Footnotes.text @@ -68,3 +68,9 @@ Footnotes mixed with images[^image-mixed] [img6]: images/MGR-1800-travel.jpeg "Travel Speeds in 1800" [^image-mixed]: Footnote Content [img7]: images/MGR-1830-travel.jpeg "Travel Speeds in 1830" + + - - - + +This is not a valid footnote name because it has whitespace.[^invalid fn] + +[^invalid fn]: an invalid footnote name diff --git a/test/resources/php-markdown-extra.mdtest/Footnotes.xhtml b/test/resources/php-markdown-extra.mdtest/Footnotes.xhtml index fe0a464..2e16a92 100644 --- a/test/resources/php-markdown-extra.mdtest/Footnotes.xhtml +++ b/test/resources/php-markdown-extra.mdtest/Footnotes.xhtml @@ -30,6 +30,10 @@ footnote test111800 Travel1830 Travel

+
+ +

This is not a valid footnote name because it has whitespace.[^invalid fn]

+