Open TBaker3 opened 8 months ago
Hi, Minify for Laravel try to check if it's a valid html structure. It become valid when the structure have head
and body
section. For example:
<html>
<head>
<!-- head -->
</head>
<body>
<!-- body -->
</body>
</html>
If the structure have any spaces or doesnt have head or body section, it wont work, like this:
< html>
<head>
<!-- head -->
</head>
<body>
<!-- body -->
</body>
</ html>
<html>
<head>
<!-- head -->
</head>
</html>
Here is my template.
Still not working
have the same issue, on long html pages. html is 100% valid
Had to dig to find why this package wasn't running.
Turns out the following function was returning false due to Catastrophic Backtracking