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

Update CSS match regex to avoid mangling anchor URL's in CSS #186

Open matthewmoto opened 6 years ago

matthewmoto commented 6 years ago

This is a proposed fix for the issue I opened: #185

Basically, it doesn't touch CSS URL's that start with a "#" character so things like same-page anchor targets are left alone.