Skip to content

Code blocks should always be LTR regardless of the message text direction #5071

Open
@mahmoudajawad

Description

@mahmoudajawad

In accordance with nextcloud/spreed#15362

Is your feature request related to a problem? Please describe.
It has always been the case that a message written in RTL language (Arabic) would have the code block rendered in RTL as well. Along with Nextcloud 10 and complete RTL support, I would have assumed this case would have been considered and code blocks would have been rendered in LTR always.

Describe the solution you'd like
Code blocks should always render in LTR.

Describe alternatives you've considered
N/A

Additional context
Example of how code blocks are rendered in RTL:

share_2337513589072262744.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care of (should be only set by nextcloud employees)feature: chat 🗨️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions