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
Unfriendly word-splitting on links in emails #3514
Comments
Hmm, this is tough. We introduced this new CSS because people where complaining about long links (like a MS teams invitation link) breaking the entire layout of the email. Not sure how a middle ground could look here (that is still supported by many email clients, which often have an old HTML engine) |
Hmm, yeah, I acknowledge that would be a more significant issue than the mid-word splitting I'm seeing. |
Wouldn’t |
We already set break-word before: pretix/src/pretix/base/templates/pretixbase/email/base.html Lines 72 to 92 in 827382e
Unfortunately, I'm unable to find the support request that caused me to add break-all currently. I assume that some email clients do not support break-word, or I would have never added the break-all |
Problem and impact
When sending an email with Pretix which contains hyperlinks with text that gets split across multiple lines, the text gets split mid-word.
Digging suggests the problem is here:
pretix/src/pretix/base/templates/pretixbase/email/base.html
Line 91 in aee86de
Which was last changed in 0990eee.
(FYI @daisylb)
Expected behaviour
Splitting should occur on word boundaries.
Steps to reproduce
No response
Screenshots
Link
No response
Browser (software, desktop or mobile?) and version
Problem occurs when email is viewed in FastMail web UI, Apple Mail 16.0 (3731.700.6), Thunderbird 115.1.0
Operating system, dependency versions
No response
Version
Instance running at https://pretix.eu/pyconau/2023/
The text was updated successfully, but these errors were encountered: