From 63fa8aedc311e6597c42cd46166db1a378737186 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Tue, 29 Jan 2019 19:33:56 +0100 Subject: [PATCH] macros: Escape filename in RunPandoc() --- macros.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.vim b/macros.vim index 73ce128..cba6b84 100644 --- a/macros.vim +++ b/macros.vim @@ -93,7 +93,7 @@ function RunPandoc() let cssopts = "-c pandoc.css" endif - execute ":!pandoc " . cssopts . " --self-contained --toc " . @% . " -o " . @% . ".html" + execute ":!pandoc " . cssopts . " --self-contained --toc '" . @% . "' -o '" . @% . "'.html" endfunction function RunMarkdownpy(prog) -- 2.39.5