I want to make sure that & is always output by {{&}} through html specialchars in the laravel 4.2 blade.

Asked 2 years ago, Updated 2 years ago, 49 views

I want to always use html specialchars when outputting with laravel blade.
I think it will be like extending or overwriting the blade, but could you tell me how to implement it?
I am using laravel 4.2.

laravel

2022-09-30 11:44

1 Answers

If you just want to escape the data, it will appear as {{{}}}.

http://readouble.com/laravel/4/2/0/ja/templates.html#other-blade-control-structures


2022-09-30 11:44

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.