Keep comments when packing asset content, since it will also remove conditional comments for IE. Fixes bug #11876
This commit is contained in:
parent
30a1060b88
commit
e549df1b47
5 changed files with 41 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue