fitztrev / laravel-html-minify

Minifies the HTML output of Laravel 4 applications
https://github.com/fitztrev/laravel-html-minify/wiki/Laravel-5---5.1-HTML-Minifying
MIT License
415 stars 76 forks source link

Seems to bug on specific blade syntax. #63

Open Baldrani opened 8 years ago

Baldrani commented 8 years ago

The minifying crashed when encoutering this :

events.js:141
      throw er; // Unhandled 'error' event
      ^
Error: Parse Error: <input name="is_light" type="checkbox" value="" @if($is_light == 1) checked @endif />

Hope you can fix this. Thank for the great job anyway.