Blade: Print with escape syntax

Laravel Blade also supports printing with escaping (see ‘Syntax for Escaping’ in http://laravel-recipes.com/recipes/36/displaying-a-variable-in-a-blade-template).
Wouldn’t it make sense to use this syntax everywhere, including the sage base theme (currently only print is used ({{}})).

Your link is over 3 years old…

{{ ... }} is escaped by default. Use {!! ... !!} to display unescaped data.

1 Like