You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some more tests for issue Python-Markdown#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.
Copy file name to clipboardExpand all lines: tests/extensions/extra/footnote.html
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
<p>This is the body with a footnote<supid="fnref:1"><ahref="#fn:1" rel="footnote">1</a></sup> or two<supid="fnref:2"><ahref="#fn:2" rel="footnote">2</a></sup> or more<supid="fnref:3"><ahref="#fn:3" rel="footnote">3</a></sup><supid="fnref:4"><ahref="#fn:4" rel="footnote">4</a></sup>.</p>
2
-
<p>Also a reference that does not exist[^5].</p>
1
+
<p>This is the body with a footnote<supid="fnref:1"><ahref="#fn:1" rel="footnote">1</a></sup> or two<supid="fnref:2"><ahref="#fn:2" rel="footnote">2</a></sup> or more<supid="fnref:3"><ahref="#fn:3" rel="footnote">3</a></sup><supid="fnref:4"><ahref="#fn:4" rel="footnote">4</a></sup><supid="fnref:5"><ahref="#fn:5" rel="footnote">5</a></sup>.</p>
2
+
<p>Also a reference that does not exist[^6].</p>
3
3
<divclass="footnote">
4
4
<hr/>
5
5
<ol>
@@ -24,5 +24,10 @@
24
24
<p>A footnote with multiple paragraphs.</p>
25
25
<p>Paragraph two. <ahref="#fnref:4" rev="footnote" title="Jump back to footnote 4 in the text">↩</a></p>
26
26
</li>
27
+
<liid="fn:5">
28
+
<p>First line of first paragraph.
29
+
Second line of first paragraph is not intended.
30
+
Nor is third... <ahref="#fnref:5" rev="footnote" title="Jump back to footnote 5 in the text">↩</a></p>
0 commit comments