add test for footnote in footnote
This commit is contained in:
parent
79fd96a2ea
commit
3f3817ebe2
3 changed files with 15 additions and 3 deletions
8
org/testdata/footnotes.html
vendored
8
org/testdata/footnotes.html
vendored
|
@ -116,7 +116,13 @@ Rather, it will be somewhere down below in the footnotes section.</p>
|
||||||
<div class="footnote-body">
|
<div class="footnote-body">
|
||||||
<p>
|
<p>
|
||||||
There's multiple reasons for that. Among others, doing so requires i18n (to recognize the section) and silently
|
There's multiple reasons for that. Among others, doing so requires i18n (to recognize the section) and silently
|
||||||
hides content before and after the footnotes.</p>
|
hides content before and after the footnotes<sup class="footnote-reference"><a id="footnote-reference-9" href="#footnote-9">9</a></sup>.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footnote-definition">
|
||||||
|
<sup id="footnote-9"><a href="#footnote-reference-9">9</a></sup>
|
||||||
|
<div class="footnote-body">
|
||||||
|
<p>Footnotes can be linked from another footnote's definition.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
5
org/testdata/footnotes.org
vendored
5
org/testdata/footnotes.org
vendored
|
@ -41,8 +41,11 @@ This shouldn't happen when the definition line and the line after that are empty
|
||||||
|
|
||||||
[fn:7]
|
[fn:7]
|
||||||
There's multiple reasons for that. Among others, doing so requires i18n (to recognize the section) and silently
|
There's multiple reasons for that. Among others, doing so requires i18n (to recognize the section) and silently
|
||||||
hides content before and after the footnotes.
|
hides content before and after the footnotes[fn:8].
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this is not part of [fn:7] anymore as there are 2 blank lines in between!
|
this is not part of [fn:7] anymore as there are 2 blank lines in between!
|
||||||
|
|
||||||
|
|
||||||
|
[fn:8] Footnotes can be linked from another footnote's definition.
|
||||||
|
|
5
org/testdata/footnotes.pretty_org
vendored
5
org/testdata/footnotes.pretty_org
vendored
|
@ -41,8 +41,11 @@ This shouldn't happen when the definition line and the line after that are empty
|
||||||
|
|
||||||
[fn:7]
|
[fn:7]
|
||||||
There's multiple reasons for that. Among others, doing so requires i18n (to recognize the section) and silently
|
There's multiple reasons for that. Among others, doing so requires i18n (to recognize the section) and silently
|
||||||
hides content before and after the footnotes.
|
hides content before and after the footnotes[fn:8].
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this is not part of [fn:7] anymore as there are 2 blank lines in between!
|
this is not part of [fn:7] anymore as there are 2 blank lines in between!
|
||||||
|
|
||||||
|
|
||||||
|
[fn:8] Footnotes can be linked from another footnote's definition.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue