From f4b66c9533f2d3fcef564a2783f9f3e1d41de55a Mon Sep 17 00:00:00 2001 From: Kevin Nolan Date: Sat, 9 Mar 2024 22:08:56 +0000 Subject: [PATCH] moved footnote to after in update_html --- R/table1.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/R/table1.R b/R/table1.R index a713984..9d6902a 100644 --- a/R/table1.R +++ b/R/table1.R @@ -1098,10 +1098,11 @@ update_html <- function(x) { sprintf('%s\n\n', topclass, caption), thead0, table.rows(thead, row.labels=rowlabelhead, th=T), - tfoot, '\n\n', paste(sapply(contents, table.rows), collapse=""), - '\n\n') + '\n', + tfoot, + '\n') structure(x, class=c("table1", "html", "character"), html=TRUE, obj=obj) })