Support the ongoing development of Laravel.io →
Views Blade
Last updated 1 year ago.
0

They've changed so the default blade {{ }} now filters html automatically. When you need to print unfiltered data you can use this.

   var cities = {!! $cities !!}

Which has the same behaviour as the old {{ }}

Last updated 1 year ago.
0

perfect, that's the solution! Thanks alot @svanteh!

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.