Skip to content

Parsing/rendering ends unexpectedly on HTML5 <br> tags #180

Description

@momijizukamori

When opening HTML documents with HTML5-compliant linebreak tags (<br>, rather than XHTML-style <br \>, nothing is rendered after the tag - the document just ends there. Some quick HTML snippets as examples (as github doesn't allow HTML attachments):
Good:

<!DOCTYPE html>
<html lang="en">

<head>
    <title>
        XHTML-style breaks
    </title>
</head>

<body>
	Section 1
	<br />
	Section 2
	<br />
	Section 3
</body>
</html>

Bad:

<!DOCTYPE html>
<html lang="en">

<head>
    <title>
        HTML5-style breaks
    </title>
</head>

<body>
	Section 1
	<br>
	Section 2
	<br>
	Section 3
</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions