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

Fails if there are spaces in the outfile #29

Closed
danhalligan opened this issue Sep 20, 2017 · 2 comments
Closed

Fails if there are spaces in the outfile #29

danhalligan opened this issue Sep 20, 2017 · 2 comments

Comments

@danhalligan
Copy link

danhalligan commented Sep 20, 2017

For example, this appears to fail:

  @converter = PandocRuby.new(
    "input.md", 
    :from => :markdown, 
    :output => "my output.pdf"
  )

It can be resolved by quoting the output file:

  @converter = PandocRuby.new(
    "input.md", 
    :from => :markdown, 
    :output => "'my output.pdf'"
  )

However, I wonder if it is worth creating a more general fix within pandoc-ruby?

I've tested this only in version 2.0.1 (apologies if this has already been fixed!)

xwmx added a commit that referenced this issue Mar 23, 2020
@xwmx
Copy link
Owner

xwmx commented Mar 23, 2020

Thanks for the heads up! This has finally been fixed as of version 2.1.2.

@xwmx xwmx closed this as completed Mar 23, 2020
@mvz
Copy link

mvz commented Mar 25, 2020

This change broke using Pathname objects for these arguments.

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

3 participants