From 038d0da744bc31cfda8697c50a12c00376497f7f Mon Sep 17 00:00:00 2001 From: will Farrell Date: Tue, 2 Apr 2013 08:47:58 -0300 Subject: [PATCH] IE Bug Fix MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bug fix related to https://github.com/gruntjs/grunt-contrib-htmlmin/issues/13#issuecomment-15769874 --- src/htmlminifier.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/htmlminifier.js b/src/htmlminifier.js index c06d6a1..81a1b74 100644 --- a/src/htmlminifier.js +++ b/src/htmlminifier.js @@ -41,7 +41,7 @@ } function isConditionalComment(text) { - return (/\[if[^\]]+\]/).test(text); + return ((/\[if[^\]]+\]/).test(text) || (/\s*(