traviscooper / node-wkhtml

Convert html to PDF or PNG format using the webkit rendering engine, and qt.
104 stars 17 forks source link

pdf generation via html string doesn't work #1

Closed gitawego closed 13 years ago

gitawego commented 13 years ago

I tried to create a pfd vis a html string such as

hell world!

but it doesn't work.

the command line generated is

echo 

Hello World

| wkhtmltopdf - -
gitawego commented 13 years ago

it throws error: Command failed: /bin/sh: Syntax error: "|" unexpected

mhemesath commented 13 years ago

I think I see the bug. I'll push a fix once I have internet access for my computer in a few hours.

gitawego commented 13 years ago

thank you very much :)

mhemesath commented 13 years ago

This issue should be resolved now. Let me know if you have any other issues.

Thanks!

gitawego commented 13 years ago

yes, it works. thanks very much!