WeasyPrint
WeasyPrint copied to clipboard
Word breaking with nested spans bug
That long word breaks if i wrap it into additional span. Tested on Weasy 61.2
<body style=" word-wrap: break-word">
<div style="width: 20em; background-color: #fafaff">
<em>
some text
<span style='color: red'>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyy</span>
zzzz wwwwwwwwwwwww
aaaaaa
</em>
</div>
<br/><br/>
<div style="width: 20em; background-color: #fafaff">
<em>
some text
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyy
zzzz wwwwwwwwwwwww
aaaaaa
</em>
</div>
</body>
Maybe related to #1614.