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

allow HTML5 element wbr #213

Merged
merged 2 commits into from Jul 31, 2021
Merged

allow HTML5 element wbr #213

merged 2 commits into from Jul 31, 2021

Conversation

flavorjones
Copy link
Owner

This PR introduces some changes:

  • deprecate HTML5::SafeList::VOID_ELEMENTS which is not a canonical set of void elements
  • remove unallowed elements from VOID_ELEMENTS
  • remove elements that libxml2 doesn't actually treat as void from VOID_ELEMENTS
  • allow wbr element

See #212 for background. See also https://developer.mozilla.org/en-US/docs/Glossary/Empty_element

and remove elements that libxml2 doesn't consider void (like `col`)

this list is descriptive, not prescriptive -- and is used only for
testing tags in ACCEPTABLE_ELEMENTS.
@flavorjones flavorjones merged commit 78712b5 into main Jul 31, 2021
@flavorjones flavorjones deleted the flavorjones-allow-wbr-element branch July 31, 2021 21:08
@flavorjones
Copy link
Owner Author

Released in v2.11.0

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.

None yet

1 participant