renatomarinho / laravel-page-speed

Package to optimize your site automatically which results in a 35%+ optimization
MIT License
2.4k stars 275 forks source link

Suggestion: There is any way to prevent code block to being minify. #170

Open vikramparihar opened 1 year ago

vikramparihar commented 1 year ago

I have a blog website build in laravel. I am using laravel page speed package for minify the output html to browser. But when i enable // \RenatoMarinho\LaravelPageSpeed\Middleware\CollapseWhitespace::class This class my code block section being minified and user unable to read code section on browser Before minify image After minify image

So Is there any way to prevent code block or specific section of blade to stop minify. Thank you.