Skip to content

Many tests are failing due to self-closing tags in HTML #260

Closed
@Aloisius

Description

@Aloisius

It looks like #250 started self-closing void tags like <img> tags which broke a whole bunch of tests.

Self-closing tags (<tag />) do not exist in HTML. While it's explicitly ignored in HTML5, it's technically invalid in HTML4 though in practice parsers ignore it. Either the change should be reverted or all the tests should be fixed.

Perhaps a GitHub Action should be setup to test builds during pull requests/push?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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