Skip to content

Commit dd4440a

Browse files
authored
Merge pull request #150 from yihui/bugfix/pandoc2.0
Use the html4 output format instead of the default html5 in Pandoc 2.0
2 parents 73a7fe1 + c90540f commit dd4440a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

R/flex_dashboard.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,10 @@ flex_dashboard <- function(fig_width = 6.0,
414414
# return format
415415
output_format(
416416
knitr = knitr_options,
417-
pandoc = pandoc_options(to = "html",
417+
pandoc = pandoc_options(to = "html4",
418418
from = rmarkdown_format(md_extensions),
419-
args = args),
419+
args = args,
420+
ext = ".html"),
420421
keep_md = FALSE,
421422
clean_supporting = self_contained,
422423
pre_knit = pre_knit,

0 commit comments

Comments
 (0)