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),