Recommended way to handle RTL mixed with LTR languages

Thanks for the answer
I tried both <p class="rtl"></p> and <p dir="rtl"></p> inside a post but I end up with <p></p> in both cases

So its strips out the attributes, how can I tell discourse to not strip those attributes ? is there a setting ?