'How to create a RTL (right to left) tweet button

I have a RTL (Arabic) blog with a tweet button that utilizes the title to populate tweets.

The issue is that twitter shows the LTR version of the title and the Twitter web intent does not seem to have an option to pass text direction.

Here is what I see: enter image description here

Here is what I should see (modified twitter styles): enter image description here

And here is the actual string without styling: 'JSON Stringify - كيفية تحليل كائن JSON باستخدام JS'



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source