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

blade tags in config not working #53

Closed ITwrx closed 9 years ago

ITwrx commented 9 years ago

i have Blade::setEscapedContentTags('{{', '}}'); Blade::setContentTags('{!!', '!!}'); set in my routes.php which works fine (l5 came out while i was in the middle of my 4.2 app so i did this to lessen the pain of migration later).

so i've set the same in laravel-html-minify/src/config but the {!! !!} tags are still being escaped.

Thanks

update: i'm not sure if the config file is being read, as enabled: true/false doesn't seem to be respected.

fitztrev commented 9 years ago

Read my preferred way of minifying HTML in Laravel 5/5.1+ apps here: Using Gulp to Minify Laravel Blade Templates