-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
I have used minify function with all custom functions to minify my combination code which having HTML and Javascript logic in single file, but only HTML is minified not javascript code. I have set minify code given below :
$htmlMin = new HtmlMin();
$htmlMin->doRemoveComments(true);
$htmlMin->doRemoveWhitespaceAroundTags(true);
$htmlMin->doOptimizeAttributes(true);
$htmlMin->doRemoveHttpPrefixFromAttributes(true);
$htmlMin->doRemoveSpacesBetweenTags(true);
$htmlContent = $htmlMin->minify($htmlContent);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels