From 302208d32c5fa8bead89221ca26e75bfecbe510a Mon Sep 17 00:00:00 2001 From: go_gonzo Date: Tue, 29 Oct 2024 13:53:42 +0100 Subject: [PATCH] review suggestion --- R/utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils.R b/R/utils.R index 46cc90995..0397774e7 100644 --- a/R/utils.R +++ b/R/utils.R @@ -220,7 +220,7 @@ to_html_code_list <- function(x) { tagList( tags$code(x[.ix]), if (.ix != length(x)) { - tags$span(ifelse(.ix == length(x) - 1, " and ", ", ")) + if (.ix == length(x) - 1) tags$span(" and ") else tags$span(", ", .noWS = "before") } ) })