HtmlMin icon indicating copy to clipboard operation
HtmlMin copied to clipboard

removing end head tag </head> from file...

Open paquette-codes opened this issue 5 months ago • 0 comments

What is this feature about (expected vs actual behaviour)?

when using $html->minify($htmlstring) and/or with other methods, it keep removing the tag from the string... resulting on a wrong html structure.

How can I reproduce it?

try this html:

<!DOCTYPE html>
<html lang="en">
<head>
    <title></title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
this is a test
</body>
</html>

paquette-codes avatar Jan 21 '24 03:01 paquette-codes