Skip to content

Conversation

@markhalliwell
Copy link

@markhalliwell markhalliwell commented Oct 7, 2016

  • Upgrade and actually use the void-elements module that this package depends on.
  • Don't assume it's a void element just because / is at the end of the tag, actually use the lookup.

- Upgrade and actually use the `void-elements` module that this package depends on.
- Don't assume it's a void element just because `/` is at the end of the tag, actually use the lookup.
@markhalliwell
Copy link
Author

Not really sure why the tests are failing, but it's not because of these changes...

@rayd rayd merged commit eeb117b into rayd:master Jul 24, 2017
rayd added a commit that referenced this pull request Jul 24, 2017
@rayd
Copy link
Owner

rayd commented Jul 24, 2017

Sorry for the huge delay on these PRs your submitted @MarkCarver! I appreciate the work you put in! Made a couple tweaks to things based on some submitted issues and reading over the HTML spec. For this one, it seemed like we ought to support handling tags that declare themselves as self-closing as "void elements" in the parser, since the spec allows one to declare "foreign elements" that can be self-closing.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants