When attempting to write Persian words in a left-to-right format for math formulas in a textarea
using HTML and CSS, I am struggling to make it work with properties like direction:ltr;
. I have tried various solutions but none have fixed the issue.
I have experimented with align-text, direction, dir Attribute, and other methods...
The desired outcome is as follows:
User input: سجاد+آرش+تست+تست
HTML output: تست + تست + آرش + سجاد