diff options
| author | MALO <57839069+MDLC01@users.noreply.github.com> | 2023-06-26 13:40:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-26 13:40:52 +0200 |
| commit | 33803b16148ec064ccabc9bffd4a9383b969e23e (patch) | |
| tree | 37727816b2ff4b0bd152086f761847509cf5cb7d /library/src/layout | |
| parent | 9ef4643ba104acc08cd3a4fce8cfea72253654b1 (diff) | |
Make footnotes referenceable (#1546)
Diffstat (limited to 'library/src/layout')
| -rw-r--r-- | library/src/layout/flow.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/library/src/layout/flow.rs b/library/src/layout/flow.rs index c173ef1a..accd092a 100644 --- a/library/src/layout/flow.rs +++ b/library/src/layout/flow.rs @@ -488,6 +488,11 @@ impl FlowLayouter<'_> { // Process footnotes one at a time. let mut k = 0; while k < notes.len() { + if notes[k].is_ref() { + k += 1; + continue; + } + if !self.has_footnotes { self.layout_footnote_separator(vt)?; } |
