WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.64k stars 1.02k forks source link

Non-breakable space messes up editor formatting #13073

Open nijel opened 6 days ago

nijel commented 6 days ago

Describe the issue

When there is a non-breakable space at the end of line in the editor, it is treated as non-breakable in the editor, but not in the highlighting overlay bringing them out of sync.

I already tried

Steps to reproduce the behavior

I've observed this at https://hosted.weblate.org/translate/weblate/legal/cs/?checksum=c4b4e70d78c401df at certain window width.

Expected behavior

No response

Screenshots

Text editor:

obrazek

When selecting text, it is offset (and differently wrapped text is visible):

obrazek

Exception traceback

No response

How do you run Weblate?

weblate.org service

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response