Skip to content

Commit

Permalink
issue #1211 escape latex and html tinytables
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Nov 24, 2024
1 parent 6e98044 commit dc60044
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions R/print.R
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,7 @@ print.marginaleffects <- function(x,
notes <- c(print_type_text, print_columns_text)
if (!is.null(notes)) args$notes <- notes
tab <- do.call(tinytable::tt, args)
tab <- tinytable::format_tt(i = 0, tab, escape = TRUE)
if ("p.value" %in% colnames(tab)) {
tab <- tinytable::format_tt(tab, j = "p.value", escape = TRUE)
}
tab <- tinytable::format_tt(tab, escape = TRUE)

if (isTRUE(splitprint)) {
msg <- "%s rows omitted"
Expand Down

0 comments on commit dc60044

Please sign in to comment.