Skip to content

Problem with yield and '' as second parameter (using v4.13) #189

@AzzaAzza69

Description

@AzzaAzza69

in template:
<div>Show all @yield('list-label','inactive') records</div>

in the inherited template, this doesn't work:
@section('list-label','')
as I ended up with
<LF>@parentXYZABC<LF> before the opening tag.

I could use either a single space (which I didn't want) or this syntax:
@section('list-label')@endsection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions