diff options
author | Waylan Limberg <waylan@gmail.com> | 2011-11-17 23:17:30 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2011-11-17 23:17:30 -0500 |
commit | bcdd7b2bf340db25963312b860d43aa4d9a1a146 (patch) | |
tree | 15cba8d1fbb1ff474268b4eac29a26cb3b3ac513 /tests/extensions/extra/footnote.html | |
parent | 869f3850535c66d17ae5ab8d8a66cc93ddb82d16 (diff) | |
download | markdown-bcdd7b2bf340db25963312b860d43aa4d9a1a146.tar.gz markdown-bcdd7b2bf340db25963312b860d43aa4d9a1a146.tar.bz2 markdown-bcdd7b2bf340db25963312b860d43aa4d9a1a146.zip |
Some more tests for issue #51. An upate to Marcin Kasperski's tests (which I previously merged). Thanks Marcin. Also added a test for not-indented secondary lines of a first paragraph in a footnote definition.
Diffstat (limited to 'tests/extensions/extra/footnote.html')
-rw-r--r-- | tests/extensions/extra/footnote.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/extensions/extra/footnote.html b/tests/extensions/extra/footnote.html index 962967d..02dcc02 100644 --- a/tests/extensions/extra/footnote.html +++ b/tests/extensions/extra/footnote.html @@ -1,5 +1,5 @@ -<p>This is the body with a footnote<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup> or two<sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup> or more<sup id="fnref:3"><a href="#fn:3" rel="footnote">3</a></sup> <sup id="fnref:4"><a href="#fn:4" rel="footnote">4</a></sup>.</p> -<p>Also a reference that does not exist[^5].</p> +<p>This is the body with a footnote<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup> or two<sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup> or more<sup id="fnref:3"><a href="#fn:3" rel="footnote">3</a></sup> <sup id="fnref:4"><a href="#fn:4" rel="footnote">4</a></sup> <sup id="fnref:5"><a href="#fn:5" rel="footnote">5</a></sup>.</p> +<p>Also a reference that does not exist[^6].</p> <div class="footnote"> <hr /> <ol> @@ -24,5 +24,10 @@ <p>A footnote with multiple paragraphs.</p> <p>Paragraph two. <a href="#fnref:4" rev="footnote" title="Jump back to footnote 4 in the text">↩</a></p> </li> +<li id="fn:5"> +<p>First line of first paragraph. +Second line of first paragraph is not intended. +Nor is third... <a href="#fnref:5" rev="footnote" title="Jump back to footnote 5 in the text">↩</a></p> +</li> </ol> </div>
\ No newline at end of file |