fix regex replace on html to replace ALL matches in the case when the
html has already been minified.