diff options
author | Waylan Limberg <waylan@gmail.com> | 2010-08-02 23:36:39 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2010-08-02 23:36:39 -0400 |
commit | f039ca04cccf0645a21cb0739c17e5f6abd593fb (patch) | |
tree | d5f7d7bf2e1bb480048eee80eef20e451495f488 /tests/extensions/extra/footnote_placeholder.html | |
parent | 7942471746b5ab0ce20182e26a23f4432632e2e5 (diff) | |
download | markdown-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.html')
-rw-r--r-- | tests/extensions/extra/footnote_placeholder.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/extensions/extra/footnote_placeholder.html b/tests/extensions/extra/footnote_placeholder.html new file mode 100644 index 0000000..7aaf4b2 --- /dev/null +++ b/tests/extensions/extra/footnote_placeholder.html @@ -0,0 +1,10 @@ +<div class="footnote"> +<hr /> +<ol> +<li id="fn:1"> +<p>A Footnote. + <a href="#fnref:1" rev="footnote" title="Jump back to footnote 1 in the text">↩</a></p> +</li> +</ol> +</div> +<p>Some text with a footnote<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup>.</p>
\ No newline at end of file |