-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minifier html #549
Comments
With the 3.5 release, we had to overhaul how the output buffer works. You have a couple options, some simpler than others to get it working again.
As a side note, I didn't see you close the output buffer, which might be part of the issue? Usually there's something like a ob_end_clean(); to properly close the output buffer (which was part of the problem that was addressed in the 3.5 update). |
Thank you very much for your support so quickly. |
FYI. Created this pull request which might be what you're after if you want to fully move to v3. #571 |
Hello, before I used the following function to minify my html and it worked for me. With flightphp it does not minimize the html. Is there something stopping ob_start?
`<?php
ob_start("minifier");
function minifier($code) {
$search = array(
}`
The text was updated successfully, but these errors were encountered: