Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[perf]: The correct behavior for the parser. #34

Copy link
Copy link
@Scrum

Description

@Scrum
Issue body actions

The correct behavior for the parser would be throwing an error in the case where unclosed tags are met, instead of silently returning wrongly parsed HTML. Otherwise that's really confusing from the level of dependent packages like posthtml-include.

I'd add that test case:

<include src="a.html"/>
<include src="b.html"/>

Otherwise I've spent, like, ~2 hours figuring that out, somebody else can get trapped there too.

Originally posted by @dy in #23 (comment)

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.