getting html source generated by wkhtmltopdf

i have found this patch:
http://code.google.com/p/wkhtmltopdf/issues/attachmentText?id=494&aid=4940011000&name=issue_494_dump-html-dir.patch&token=TuDHBoGbmnnStFfekoh5GkqfyYQ%3A1382115608659

i'have applied this one and after fixing some compilation error, it's works !

you can get it here:
https://github.com/mkdgs/wkhtmltopdf

use:
./wkhtmltopdf --dump-html your.html http://google.com/  /dev/null

it still need a option to skip pdf rendering ..

i m not sure about the gitorous adress in static-build.sh it's from http://github.com/harmant/wkhtmltopdf 

enjoy