From 98b71a26577097776c39e029e80781ee24def8c1 Mon Sep 17 00:00:00 2001 From: Mitchell Date: Thu, 30 Jan 2020 18:21:31 -0800 Subject: [PATCH] :eyes: Fix some icons not showing in xaringan --- R/knit.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/knit.R b/R/knit.R index 13561fe..f263668 100644 --- a/R/knit.R +++ b/R/knit.R @@ -8,7 +8,7 @@ knit_print.icon <- function(x, ...) { return(knitr::asis_output("")) } if(out_type == "html"){ - return(knitr::asis_output(htmltools::htmlPreserve(gsub('"', "'", format(x))))) + return(knitr::asis_output(htmltools::htmlPreserve(paste0("\n", gsub('"', "'", format(x)))))) } height <- as.numeric(str_extract(