Level 53
Changing this might work:
{{ Session::get('info-success') }}
becomes
{!! Session::get('info-success') !!}
{{ $variable }} will encode everything into HTML entities, {!! $variable !!} will not
2 likes
Hi!
It seems very basic, but I couldn't find a solution.
return redirect()->route('app.vendor.search', [$variables])->with('info-success', 'File uploaded successfully.');
<div class="alert alert-success alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h4>
<i class="icon fa fa-check"></i> Success!</h4>
{{ Session::get('info-success') }}
</div>
return redirect()->route('app.vendor.search', [$variables])->with('info-success', 'File <strong>uploaded</strong> successfully.'); the "strong" tag will be ignored. As matter of fact all the tags I've tried were ignored.Any ideas?
Thanks !!
Changing this might work:
{{ Session::get('info-success') }}
becomes
{!! Session::get('info-success') !!}
{{ $variable }} will encode everything into HTML entities, {!! $variable !!} will not
Please or to participate in this conversation.