Skip to content

Commit

Permalink
a different fix for #307: set the option knitr.sql.html_div to FALSE …
Browse files Browse the repository at this point in the history
…instead (yihui/knitr@88c5213)
  • Loading branch information
yihui committed Mar 21, 2022
1 parent 2ad2a6d commit e47091d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/render.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 <div> to knitr's sql output (#307)
)
},
pre_processor = function(
Expand Down

0 comments on commit e47091d

Please sign in to comment.