-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support the <wbr> element #395
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.
|
It looks like this was missed in html5lib#358. It is causing build failures in html5lib#395 and html5lib#396.
@gsnedders Is there anything blocking merge of this or #396 on my end? |
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.
|
<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