alanshaw / grunt-include-replace

Grunt task to include files and replace variables. Allows for parameterised includes.
MIT License
200 stars 45 forks source link

Fixed infinite loop when replacement file contains "$&" characters #21

Closed druide closed 11 years ago

druide commented 11 years ago

Got an infinite loop on include of file with "$&". To prevent this, used function argument to String.replace.

alanshaw commented 11 years ago

Thanks so much.