remy / inliner

Node utility to inline images, CSS and JavaScript for a web page - useful for mobile sites
MIT License
1.1k stars 165 forks source link

Fatal error parsing HTML #29

Closed gpassebon closed 9 years ago

gpassebon commented 11 years ago

Hi,

Thanks for this tool it seems to be exactly what I need but I'm unable to get it to work. I'm always getting "failed to parse HTML" here is the command line and the output :

ubuntu@ubuntu:/mnt/hgfs/GRWebview$ inliner -v http://www.google.fr inline.html path.existsSync is now called fs.existsSync. get http://www.google.fr Fatal error parsing HTML - exiting :: http://www.google.fr

Any idea ?

Andyroid1978 commented 11 years ago

Hi, i came across the same problem. I found out the in my case the problem was the number of parameters of a function of jsdom modules. Check out my pr: https://github.com/remy/inliner/pull/30

mccartney commented 10 years ago

Pull request (https://github.com/remy/inliner/pull/30) has been merged some time ago, so this issue can be closed.