Standalone PR for fixing the revealjs-url bug in Windows
diff --git a/R/revealjs_presentation.R b/R/revealjs_presentation.R
index 3778568..9e5e3e6 100644
--- a/R/revealjs_presentation.R
+++ b/R/revealjs_presentation.R
@@ -196,8 +196,7 @@
if (!self_contained || identical(.Platform$OS.type, "windows"))
revealjs_path <- relative_to(
output_dir, render_supporting_files(revealjs_path, lib_dir))
- args <- c(args, "--variable", paste("revealjs-url=",
- pandoc_path_arg(revealjs_path), sep=""))
+ args <- c(args, "--variable", paste0("revealjs-url=", revealjs_path)))
# highlight
args <- c(args, pandoc_highlight_args(highlight, default = "pygments"))