I have Persian character in my page. when I display a string contains Persian characters within slash character in the text will not show properly. It should reverse the characters to show properly.
The correct text is:

But when it is displayed as:

361/شماره شد/1397/2 
How to solve this problem?
I have tried css direction and text-align but they didn't work.
Can you change your HTML? The only way I can make it work is by putting the Persian bit in a span and use unicode-bidi: embed on it.
.e {unicode-bidi: embed;}
361/<span class="e">شماره شد</span>/1397/2
Hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With