From e1e614bfca7e7f0586ca1dc91cfe7234be84e594 Mon Sep 17 00:00:00 2001 From: Johnny Liu Date: Thu, 7 Apr 2016 20:23:06 +1000 Subject: [PATCH] fix bug: matching script in htmlmined html file The original regex for matching It can not be matched correctly. New regex could solve this problem. --- lib/fileprocessor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fileprocessor.js b/lib/fileprocessor.js index de4d8d4..f29d00b 100644 --- a/lib/fileprocessor.js +++ b/lib/fileprocessor.js @@ -7,7 +7,7 @@ var chalk = require('chalk'); var _defaultPatterns = { html: [ [ - /]+src=['"]([^"']+)["']/gm, 'Update the HTML to reference our concat/min/revved script files' ], [