Skip to content

Replace all occurrences when replacing, not just the first #8

Merged
merged 1 commit into from May 9, 2013

2 participants

@kleinsch
kleinsch commented May 8, 2013

We're using grunt-hashres to hash our image resources, in addition to JS and CSS. Since the same image can be used multiple times in a CSS file, we uncovered a bug where hashres only replaces the first occurrence. This pull request fixes it to replace all.

@Luismahou Luismahou merged commit 65b209e into Luismahou:master May 9, 2013

1 check passed

Details default The Travis CI build passed
@Luismahou
Owner

Thanks for your contribution.

Please allow me a few days to deploy it to npm.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.