Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape of pandoc args causes trouble #33

Closed
jounathaen opened this issue Apr 8, 2019 · 1 comment
Closed

Escape of pandoc args causes trouble #33

jounathaen opened this issue Apr 8, 2019 · 1 comment

Comments

@jounathaen
Copy link

The args parameter which is handed to pandoc is processed by escape (page.vim line 426).
This causes trouble, when for example setting the g:wiki_export struct to:

let g:wiki_export = {'from_format': 'markdown', 'args': '--template eisvogel', 'ext': 'pdf', 'view': v:false}
pandoc --template\ eisvogel -f markdown -o [...]
Shell output:
Unknown option --template eisvogel.^@Try pandoc --help for more information.^@

However, If I remove the escape() from the pandoc processing, everything works as it should do and it accepts the --template parameter

lervag added a commit that referenced this issue Apr 14, 2019
@lervag
Copy link
Owner

lervag commented Apr 14, 2019

Sorry about the delay. You are right, the escape was not correct.

@lervag lervag closed this as completed Apr 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants