-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Describe the bug
For users in Hebrew, Arabic or Persian (I think) which are written right to left, the @mentions at the start of a reply cause the entire first paragraph to be rendered left to right. This causes it to be less readable.
If this were HTML, I'd suggest you wrap any mention in a bdi tag: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi (or use CSS which can also do that).
To Reproduce
Steps to reproduce the behavior:
- Reply to anything
- Include the default mention, and write in a RTL language. Finish with a punctuation mark. For example:
@whoever שיהיה לך יום טוב. - Post and look at the result
Expected behavior
The paragraph should be rendered in RTL, aligned right, and the punctuation mark should be on the left at the end of the text.
Links
https://fosstodon.org/@neatnit/112912082714265949
Versions
Pachli 2.7.0, Android 14, OneUI 6.1, Samsung Galaxy S22+.
Affirmation
I did not check for other issues, sorry. Feels like the kind of issue that would be resolved soon after it's brought up.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
