Skip to content

Self closing "div" #1

@shazahm1

Description

@shazahm1

If you just create a div with no content, the div self closes instead of adding the closing tag.

$container = html::div(, 'class','container');

outputs:

<div class="container"/>

instead of:

<div class="container"></div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions