add test for footnote in footnote

This commit is contained in:
facundoolano 2024-03-13 15:20:07 -03:00
parent 79fd96a2ea
commit 3f3817ebe2
3 changed files with 15 additions and 3 deletions

View file

@ -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&#39;s multiple reasons for that. Among others, doing so requires i18n (to recognize the section) and silently There&#39;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&#39;s definition.</p>
</div> </div>
</div> </div>
</div> </div>

View file

@ -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.

View file

@ -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.