Line breaks in Blade sections and yields

How to avoid line breaks in Laravel blade sections or yields. The problem // the laylout <title>@yield(‘title’)</title> // the child @section(‘title’) title @stop // the result <title>title </title> The solution // the laylout <title>@yield(‘title’)</title> // the child @section(‘title’, ‘title’) // the result <title>title</title> Using @parent or other blade specials: @section(‘title’, Read more…