Skip to content

Commit

Permalink
issue #87
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 22, 2024
1 parent 7e35bb4 commit 46e4bc6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/build_tt.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,11 @@ finalize_bootstrap <- function(x) {
"table",
x,
fixed = TRUE)
# Rmarkdown and Quarto load their own bootstrap, which we probably don't want to override
if (isTRUE(getOption('knitr.in.progress'))) {
out <- strsplit(out, split = "\n")[[1]]
out <- out[!grepl("https://cdn.jsdelivr.net/npm/bootstrap", out, fixed = TRUE)]
out <- paste(out, collapse = "\n")
}
return(out)
}

0 comments on commit 46e4bc6

Please sign in to comment.