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

Filesystem load has issues with URL markup. #84

Closed verm closed 8 years ago

verm commented 8 years ago

Great software -- works very well!

When loading a file from the filesystem some URLs won't load for example:

ENOENT, open '//build/singlehtml/_static/fonts/fontawesome-webfont.eot?v=4.2.0'

I'm merging htmlsingle ouput from Sphinx into one file. If I parse the file and remove the ?v=4.2.0 it works perfectly.

Thank you!

remy commented 8 years ago

What version of inliner are you using? IIRC querystrings web supposed to be stripped (in another bug fix some months ago).

verm commented 8 years ago

1.8.0 is what Node installed. I didn't think to try the Git version, sigh. I will give it a shot later and report back.