donpark / html2jade

Converts HTML to Jade template. Not perfect but useful enough for non-daily conversions.
MIT License
1.18k stars 156 forks source link

mac OSX directory paths #24

Closed ghost closed 12 years ago

ghost commented 12 years ago

Just a note:

I discovered that if any directory on the path has a blank space (allowed on Mac OSX, example: ~/foo bar/blee), the output of html2jade goes into never never land. The file is created, but it is of zero length. Remove the whitespace from the directory path, and no problem.

donpark commented 12 years ago

Have you tried quoting the path like this?

    html2jade "~/path to/my.html"
donpark commented 12 years ago

Use quotes when path has whitespace.