Answer the question
In order to leave comments, you need to log in
Blade(Laravel) how to remove extra spaces?
I'm trying to write as simple a code as possible, but when using operators from Blade, a situation often arises that unexpected spaces appear:
<input name="trans[{{$lang}}][title]" title="name" value="@if(!empty($category->localizedTitle)){{$category->localizedTitle}}@else Category Name @endif"><br><br>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question