fix(*.php.liquid): remove unused html minification dependency
This commit is contained in:
parent
abcfceb51c
commit
79464d6769
16 changed files with 5 additions and 292 deletions
|
@ -63,13 +63,3 @@ schema: movie
|
|||
<?= parseMarkdown($movie["description"]) ?>
|
||||
<?php endif; ?>
|
||||
</article>
|
||||
<?php
|
||||
$html = ob_get_clean();
|
||||
$htmlMin = new HtmlMin();
|
||||
$htmlMin->doOptimizeAttributes(true);
|
||||
$htmlMin->doRemoveComments(true);
|
||||
$htmlMin->doSumUpWhitespace(true);
|
||||
$htmlMin->doRemoveWhitespaceAroundTags(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(false);
|
||||
echo $htmlMin->minify($html);
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue