Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add special case for end tag </br>. Fixes #185 #186

Merged
merged 1 commit into from
Jun 24, 2020

Commits on Jun 24, 2020

  1. Add special case for end tag </br>. Fixes Masterminds#185

    Normally, an end tag for a void element would simply be discarded,
    but the spec includes a special rule as follows:
    
    > An end tag whose tag name is "br"
    > Parse error. Drop the attributes from the token, and act as
    > described in the next entry; i.e. act as if this was a "br"
    > start tag token with no attributes, rather than the end tag
    > token that it actually is.
    IMSoP committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    8696866 View commit details
    Browse the repository at this point in the history