From 23a2573f258161831f92599332cb3b789cc7bc72 Mon Sep 17 00:00:00 2001 From: Emily de la Rua Date: Mon, 30 Oct 2023 19:04:37 -0400 Subject: [PATCH] Fix bug preventing footnote path from working with names --- R/index_footnotes.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/index_footnotes.R b/R/index_footnotes.R index 6ff7ec816..776c49cd6 100644 --- a/R/index_footnotes.R +++ b/R/index_footnotes.R @@ -118,7 +118,7 @@ update_ref_indexing <- function(tt) { } for (i in seq_len(nrow(rdf))) { - path <- rdf$path[[i]] + path <- unname(rdf$path[[i]]) tt_at_path(tt, path) <- .idx_helper( tt_at_path(tt, path),