kramdown / converter-pdf

kramdown-converter-pdf uses Prawn to convert a kramdown document to PDF
Other
7 stars 7 forks source link

Add open_file method to correctly parse urls/paths #9

Closed kellyeryan closed 1 year ago

kellyeryan commented 1 year ago

Code fixing issue #8

This code checks first whether the file being opened is a URL and if it is, opens it accordingly; if the file is not a URL, it opens it as a path.

gettalong commented 1 year ago

@kellyeryan I have used your initial commit and discarded the other two about open-uri. Released 1.0.6 with the fix.