We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0836cb commit 2d84f7aCopy full SHA for 2d84f7a
markdown-mode.el
@@ -1715,7 +1715,8 @@ Calls `markdown-cycle' with argument t."
1715
;; Handle case when `markdown-command' does not read from stdin
1716
(if (not buffer-file-name)
1717
(error "Must be visiting a file")
1718
- (shell-command (concat markdown-command " " buffer-file-name)
+ (shell-command (concat markdown-command " "
1719
+ (shell-quote-argument buffer-file-name))
1720
output-buffer-name))
1721
;; Pass region to `markdown-command' via stdin
1722
(shell-command-on-region begin-region end-region markdown-command
0 commit comments