aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/extra/footnote_placeholder.txt
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2010-08-02 23:36:39 -0400
committerWaylan Limberg <waylan@gmail.com>2010-08-02 23:36:39 -0400
commitf039ca04cccf0645a21cb0739c17e5f6abd593fb (patch)
treed5f7d7bf2e1bb480048eee80eef20e451495f488 /tests/extensions/extra/footnote_placeholder.txt
parent7942471746b5ab0ce20182e26a23f4432632e2e5 (diff)
downloadmarkdown-f039ca04cccf0645a21cb0739c17e5f6abd593fb.tar.gz
markdown-f039ca04cccf0645a21cb0739c17e5f6abd593fb.tar.bz2
markdown-f039ca04cccf0645a21cb0739c17e5f6abd593fb.zip
Fixed problem hidden by Ticket 68. Defining a footnote placeholder in a markdown document results in the placeholder actually being replaced. Also added a test for this. Note that if the placeholder paragraph has other text, that text is lost. Not sure if this is a bug or bad markdown syntax.
Diffstat (limited to 'tests/extensions/extra/footnote_placeholder.txt')
-rw-r--r--tests/extensions/extra/footnote_placeholder.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/extensions/extra/footnote_placeholder.txt b/tests/extensions/extra/footnote_placeholder.txt
new file mode 100644
index 0000000..0b0af42
--- /dev/null
+++ b/tests/extensions/extra/footnote_placeholder.txt
@@ -0,0 +1,5 @@
+///Footnotes Go Here///
+
+Some text with a footnote[^1].
+
+[^1]: A Footnote.