Answer the question
In order to leave comments, you need to log in
Laravel blade exceptions when escaping?
Hello. I output the data, its approximate form:
<a href="https://google.com">GOOGLE</a>
<i>cba</i>
<i>cba</i>
). How to do this?
Answer the question
In order to leave comments, you need to log in
It's a little unclear what you need, but to display the contents of a variable without escaping, you need to do this:
{!! $var !!}
You can also output two variables, but wrap the second one in the e() function and it will be output with escaping:
{!! $var. e($escapeVar) !!}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question