Skip to content

Support minifying comments further #16

Closed
@wooorm

Description

@wooorm

If a comment does not include >, it can be minified if parse errors are allowed, because <?something> is parsed as <!--something-->.

See https://html.spec.whatwg.org/multipage/parsing.html#parse-error-unexpected-question-mark-instead-of-tag-name

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