Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #395 +/- ##
==========================================
+ Coverage 90.79% 90.79% +<.01%
==========================================
Files 50 50
Lines 6952 6956 +4
Branches 1328 1328
==========================================
+ Hits 6312 6316 +4
Misses 481 481
Partials 159 159
Continue to review full report at Codecov.
|
twm
added a commit
to twm/html5lib-python
that referenced
this pull request
Jun 10, 2018
It looks like this was missed in html5lib#358. It is causing build failures in html5lib#395 and html5lib#396.
gsnedders
pushed a commit
that referenced
this pull request
Oct 1, 2018
Contributor
Author
|
@gsnedders Is there anything blocking merge of this or #396 on my end? |
twm
added a commit
to twm/yarrharr
that referenced
this pull request
Jul 20, 2019
A proper fix is at html5lib/html5lib-python#395
Codecov Report
@@ Coverage Diff @@
## master #395 +/- ##
=======================================
Coverage 91.07% 91.07%
=======================================
Files 50 50
Lines 7044 7048 +4
Branches 1341 1341
=======================================
+ Hits 6415 6419 +4
Misses 475 475
Partials 154 154
Continue to review full report at Codecov.
|
Closed
willkg
added a commit
to mozilla/bleach
that referenced
this pull request
Oct 14, 2025
html5lib did a 1.1 release in June 2020. Since then, they fixed how wbr is treated--it should be an element that doesn't require a closing tag. html5lib/html5lib-python#395 However, they haven't done a release since then. This adds another vendor patch to fix wbr handling.
willkg
added a commit
to mozilla/bleach
that referenced
this pull request
Oct 14, 2025
html5lib did a 1.1 release in June 2020. Since then, they fixed how wbr is treated--it should be an element that doesn't require a closing tag. html5lib/html5lib-python#395 However, they haven't done a release since then. This adds another vendor patch to fix wbr handling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
<wbr>is an empty element which indicates a line break opportunity. The effect is similar to inserting a zero-width space, but superior because<wbr>does not affect the text of the selection (so when copied there aren't invisible characters in it).<wbr>is safe when sanitizing HTML.Partially addresses #203.
https://html.spec.whatwg.org/#the-wbr-element