Hi Brian,
Thank you for your prompt response.
I made the following adjustment:
$message = str_replace('dir="rtl"', 'align="right" style="font-family:arial; direction:rtl"', $message);
The problem is that although this line will be properly rendered:
<p><br /><p align="right" style="font-family:arial; direction:rtl">אני כותב בפונט אחר</p></p>
...this one (where there's an internal span in the line) will invert the order of the words in the line, as the align will not apply to the entire text:
<p><br /><p align="right" style="font-family:arial; direction:rtl">אני <strong>כותב</strong> באותו פונט</p></p>
as you can see in the attached.
Are there further development in this project and plans to add directionality in the near future?
Regards,
David