Open this example in the interactive library
Source code
<style>
.demo bdi {
unicode-bidi: isolate;
}
</style>
<p class="demo">User <bdi>علي</bdi>: 12 updates</p>
Expose bidi-safe user content with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo bdi {
unicode-bidi: isolate;
}
</style>
<p class="demo">User <bdi>علي</bdi>: 12 updates</p>