From: Stefan Huber Date: Tue, 29 Jan 2019 18:33:56 +0000 (+0100) Subject: macros: Escape filename in RunPandoc() X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=63fa8aedc311e6597c42cd46166db1a378737186;p=vimconf.git macros: Escape filename in RunPandoc() --- 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)