This isn't documented anywhere, but the fact that all Form and HTML helper functions return HtmlString objects means that they can be safely used with normal escaped Blade template tags. ie.
{{ Form::open() }}
works just as fine as
{!! Form::open() !!}
This is probably a safety feature, and there is a minor performance penalty for the former, but it might be worth mentioning anyway?
This isn't documented anywhere, but the fact that all Form and HTML helper functions return
HtmlString
objects means that they can be safely used with normal escaped Blade template tags. ie.works just as fine as
This is probably a safety feature, and there is a minor performance penalty for the former, but it might be worth mentioning anyway?