You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have confirmed that this bug has not been reported yet
Description
the rtl tags are not working in following code
const source = {
html: `
<p dir="rtl">This is a paragraph of text in RTL.</p>
<p style="direction: rtl;">This is a paragraph of text in RTL.</p>
<p>Alexa ما هو الطقس ليوم غ! (default dir!)</p>
<p dir="ltr">Alexa ما هو الطقس ليوم غد! (ltr dir!)</p>
<p dir="rtl">Alexa ما هو الطقس ليوم غد! (rtl dir!)</p>
<p style="direction: rtl;">Alexa ما هو الطقس ليوم غد! <span dir='ltr'>(rtl with inline ltr span!)</span></p>
<hr />
<p>ما هو الطقس ليوم غ! Hello World كيف حالك (default dir!)</p>
<p dir='auto'>ما هو الطقس ليوم غ! Hello World كيف حالك (auto dir!)</p>
<p dir='ltr'>ما هو الطقس ليوم غ! Hello World كيف حالك (ltr dir!)</p>
<p dir='rtl'>ما هو الطقس ليوم غ! Hello World كيف حالك (rtl dri!)</p>
<p dir='rtl'>ما هو الطقس ليوم غ! Hello World كيف حالك <span dir='ltr'>(rtl with inline ltr span!)</span></p>`
};
Decision Table
<yyy>
is not rendered”Good Faith Declaration
Description
the rtl tags are not working in following code
i have set
<RenderHtml
source={source}
renderersProps={{
p: { enableExperimentalRtl: true },
}}
/>
React Native Information
RNRH Version
"react-native-render-html": "^6.3.4",
Tested Platforms
Reproduction Platforms
Minimal, Reproducible Example
https://snack.expo.dev/QR9QKiweTqnT7LmQzJFtW
Additional Notes
No response
The text was updated successfully, but these errors were encountered: