Keep comments when packing asset content, since it will also remove conditional comments for IE. Fixes bug #11876

This commit is contained in:
Colin Kuskie 2010-09-20 13:37:12 -07:00
parent 30a1060b88
commit e549df1b47
5 changed files with 41 additions and 3 deletions

View file

@ -181,7 +181,6 @@ around extraHeadTags => sub {
my $unpacked = $_[0];
my $packed = $unpacked; ##Undo magic aliasing since a reference is passed below
HTML::Packer::minify( \$packed, {
remove_comments => 1,
remove_newlines => 1,
do_javascript => "shrink",
do_stylesheet => "minify",