fix(*.php.liquid): remove unused html minification dependency

This commit is contained in:
Cory Dransfeldt 2025-05-30 14:38:40 -07:00
parent abcfceb51c
commit 79464d6769
No known key found for this signature in database
16 changed files with 5 additions and 292 deletions

View file

@ -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);
?>