Skip to content

Issue with display user Arabic name #8191

Closed

Description

@AhmedElTabarani

Description

Arabic names in parentheses are not displayed correctly. Instead, the order of the Arabic text appears reversed

image

The correct shape is محمد الصوالحي

as here

image

How to replicate the issue + URL

  1. Follow any user that have an Arabic name like me https://github.com/AhmedElTabarani
  2. Go to the home page and see my activities, my Arabic name will display in the reversed order

Extension version

24.12.20

Browser(s) used

Google Chrome

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.

Activity

  1. added
    small
    on Jan 7, 2025
  2. kidonng commented on Jan 7, 2025

    @kidonng
    Member

    It seems <bdo> is used to resolve #698, which breaks actual RTL text. I think instead of a blanket <bdo> we should only use that if we see the naughty U+202E.

  3. kidonng commented on Jan 7, 2025

    @kidonng
    Member

    While I don't fully understand the bidi algo, I find all this time we don't actually need <bdo>, creating a box container for the name (e.g. with display: inline-block) is suffice.

    CleanShot 2025-01-07 at 18 42 35@2x
    CleanShot 2025-01-07 at 18 42 41@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedbugsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions