Skip to content

[Bug] False positive StrictException for self-closing elements #115

@staudenmeir

Description

@staudenmeir

In strict mode the parser throws exceptions for self-closing elements with a space before the closing slash:

(new Dom)->setOptions(['strict' => true])->load('<br />');

Tag 'br' is not self closing! (character #5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions