Keep comments when packing asset content, since it will also remove conditional comments for IE. Fixes bug #11876
This commit is contained in:
parent
ab6ba36a34
commit
86ecb10198
5 changed files with 41 additions and 3 deletions
|
|
@ -242,7 +242,6 @@ sub packSnippet {
|
|||
|
||||
if ( $self->get('mimeType') eq "text/html" ) {
|
||||
HTML::Packer::minify( \$packed, {
|
||||
remove_comments => 1,
|
||||
do_javascript => "shrink",
|
||||
do_stylesheet => "minify",
|
||||
} );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue