From c7250dc92178b819b91cff577b0bd511c99f6dee Mon Sep 17 00:00:00 2001 From: xhzeem Date: Tue, 21 Jul 2026 23:30:52 +0300 Subject: [PATCH] fix(rtl): isolate Latin address text ("Name ") from RTL bidi reordering Unicode's bidi algorithm treats < and > as mirrored characters. When a plain "Name " string is rendered as a text node inside an RTL-inherited container, the browser swaps and reorders those brackets for the whole run, producing garbled output (e.g. ""). Wrapped the affected text in native , which auto-detects its own paragraph direction from its content rather than inheriting the ancestor's - so a Latin address renders LTR and a genuinely Arabic/Hebrew/Farsi name still renders RTL, both correctly, in: - recipient-popover.tsx (shared by the email viewer's From/To/Cc/Bcc detail rows and the calendar invitation banner's organizer row) - email-composer.tsx's read-only From display - eml-preview.tsx's From/To header lines Left the equivalent