From e47091d14ccb1d4e0a002ba55d41b2b92a59250b Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Mon, 21 Mar 2022 12:58:11 -0500 Subject: [PATCH] a different fix for #307: set the option knitr.sql.html_div to FALSE instead (https://github.com/yihui/knitr/commit/88c52131b071de7381a3da25533d574da1cd9631) --- R/render.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/render.R b/R/render.R index fb3a9e9..84c5f75 100644 --- a/R/render.R +++ b/R/render.R @@ -213,7 +213,7 @@ moon_reader = function( pre_knit = function(input, ...) { opts <<- options( htmltools.preserve.raw = FALSE, # don't use Pandoc raw blocks ```{=} (#293) - xaringan.format = 'moon_reader' # indicate xaringan's output format + knitr.sql.html_div = FALSE # do not add
to knitr's sql output (#307) ) }, pre_processor = function(