Closed Bug 1717175 Opened 3 years ago Closed 3 years ago

Line break introduced at no-break space (nbsp)

Categories

(Thunderbird :: Message Compose Window, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 532712

People

(Reporter: julien+mozilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

When I write a message the editor does auto-wrapping, I'm not against it, it's even nice, but it break on no-break spaces, which is bad in french.

For example say I want to send:

Bonjour, blah blah blah blah, comment ça va, la vie, l'univers le reste :

https://mdk.fr

Note that in french in my sample text there's a space between the last word and the column, to avoid an ugly line-break here, french typography asks us to use a no-break space here (U+00A0), which I used (on my keyboard it's Compose-space-space), see https://en.wikipedia.org/wiki/Compose_key.

Actual results:

Thunderbird breaks the line where I put my no-break space:

Bonjour, blah blah blah blah, comment ça va, la vie, l'univers le reste
:

https://mdk.fr

which is ugly and particularily unexpected (breaking a no-break space).

Expected results:

Due to the impossibility to break at the no-break space, Thunderbird should break on the previous break place, like:

Bonjour, blah blah blah blah, comment ça va, la vie, l'univers le
reste :

https://mdk.fr

see: https://www.unicode.org/reports/tr14/tr14-45.html

Type: enhancement → defect
Summary: Line break at no-break space → Line break introduced at no-break space (nbsp)
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.