Luismahou / grunt-hashres

Hashes your js and css files and rename the <script> and <link> declarations that refer to them in your html/php/etc files.
MIT License
115 stars 41 forks source link

Escape filename #16

Closed crodas closed 11 years ago

crodas commented 11 years ago

If the filename have special characters it may end up throwing an exception (for instance +1.png). Added preg_quote (borrowed from phpjs.org) to fix this issue

Luismahou commented 11 years ago

Thanks!