Creative Enemy
Creative Enemy

Reputation: 398

RTL Format numeric and symbols not align properly

I faced the RTL Alignment issue in numeric, Symbols and English character with inside the Arabic sentence. I attached the my screen in below.

In this image pink color marked is Arabic view and green border is English version. In this part Order number mentioned inside the brace (). It's perfect view in English (#ODiT27167979008), But in Arabic (#ODiT27167979008) . How to fix this issue?

Upvotes: 2

Views: 631

Answers (1)

Ben Rhys-Lewis
Ben Rhys-Lewis

Reputation: 3256

Brackets act kind of strangely when using rtl. Look here for more info: brackets displays wrongly for right to left display style

But basically you need to add the LRM character after the last bracket ‎

<p class="rtl">(#ODiT27167979008)&#x200E;</p>

Upvotes: 2

Related Questions