# Manière recommandée de gérer le RTL mélangé avec des langues LTR

**URL:** <https://meta.discourse.org/t/recommended-way-to-handle-rtl-mixed-with-ltr-languages/78894>\
**Category:** Product Support\
**Created:** [Janvier 24, 2018, 5:24 UTC](https://meta.discourse.org/t/recommended-way-to-handle-rtl-mixed-with-ltr-languages/78894 "2018-01-24T17:24:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [Janvier 24, 2018, 10:27 UTC](https://meta.discourse.org/t/recommended-way-to-handle-rtl-mixed-with-ltr-languages/78894/6 "2018-01-24T22:27:17Z")

</div>

> [@GiorgosK](#):
>
> 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

Sorry, the `dir` attribute is only whitelisted for `<div>` tags.

`<div dir="rtl">this is a test</div>` will work:

There is no setting to add attributes to the Discourse whitelist. It can be done through a plugin. That’s what the plugin that you linked to is doing.

---

_[View the full topic](https://meta.discourse.org/t/recommended-way-to-handle-rtl-mixed-with-ltr-languages/78894)._
