Support the ongoing development of Laravel.io →
Blade Forms
Last updated 2 years ago.
0

In Laravel 5, everything inside the blade double brackets is escaped by default. If you want to render some raw html, you have to use the new {!! !!} tags.

So for example, this will work:

{!! Form::open() !!}

If you want to keep using the old syntax for raw html, you can use Blade::setRawTags($openTag, $closeTag) to set the old {{ and }} tags, as Taylor Otwell pointed out here.

Last updated 2 years ago.
0

Ahh thanks so much. I thought it was an issue with HHVM for sure. I tried the setRawTags function but it seems to white screen the page, so I'll just work with the new tag structure.

Last updated 2 years ago.
0

Thanks, I too was looking for an answer to this for awhile.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Hobstweedl hobstweedl Joined 15 Sep 2014

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.