Blade: Print with escape syntax

Laravel Blade also supports printing with escaping (see ‘Syntax for Escaping’ in
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