summaryrefslogtreecommitdiff
path: root/library/src/layout
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/layout')
-rw-r--r--library/src/layout/flow.rs5
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)?;
}