[Form] Suggestion: Add CSS hyphens: none
when expanding the {{ value }}
placeholder in error messages
#60319
Labels
Description
While playing around with long email addresses, I noticed that they sometimes get hyphenized in form's error messages: With
... when entering
foooooooooooobar@example.com
, then the error message might come out as:So I'm suggesting to wrap
{{ value }}
into a<span style="hyphens:none">
.At first, I thought about adding an additional flag (like e.g.
{{ value|hyphensNone }}
), but now I'm thinking that any modification of the user's input might lead to confusion, so it's probably better to always suppress hyphenation.Open question: How to deal with non-HTML output?
Example
No response
The text was updated successfully, but these errors were encountered: