commit | 4d02e356cadd9af49c915c76b7cd27d01e67edb8 | [log] [tgz] |
---|---|---|
author | Michael Dodge <mgdodge@gmail.com> | Fri Jan 04 23:22:51 2013 -0700 |
committer | Michael Dodge <mgdodge@gmail.com> | Fri Jan 04 23:22:51 2013 -0700 |
tree | f26a8a4e6de346d0c9a48dd8352f41bfa046f334 | |
parent | 362b80054ed80940064fd7891a9628279498504b [diff] |
Fix MSIE conditionals regex in minify output Allows IE conditionals like the following to remain unmodified. ```html <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> ``` Credit to joebert regex from http://www.sitepoint.com/forums/showthread.php?696559-Regex-pattern-to-strip-HTML-comments-but-leave-conditonals&s=3eef4ceb0a59b2fdb946fa56220fb6fd&p=4678083&viewfull=1#post4678083