LibreChat/packages
Shuki Vaknin 42568a0077
🔀 fix: Resolve SplitText Direction From Its Own Text Under RTL (#16454)
* 🔀 fix: Resolve SplitText Direction From Its Own Text Under RTL

SplitText wraps every grapheme and every word in its own inline-block box, so
the bidi algorithm never sees the text as one run. Under an RTL document the
boxes lay out right to left, and a Latin greeting or agent name on the landing
page renders mirrored, letter by letter and word by word.

The paragraph and each word box now carry dir="auto", so direction resolves
from the first strong character of the text itself: the paragraph decides word
order and each word decides its own letter order. RTL text still lays out
right to left, and mixed greetings render each part correctly.

Claude-Session: https://claude.ai/code/session_01EhJ8HUVBZ53ArUzgXDnxom

* 🐛 fix: Preserve RTL Greeting Word Order

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-09-28 20:59:28 -04:00
..
api 🥧 refactor: Show Failed Call Fractions and Preview Age (#16468) 2026-09-28 20:55:35 -04:00
client 🔀 fix: Resolve SplitText Direction From Its Own Text Under RTL (#16454) 2026-09-28 20:59:28 -04:00
data-provider 🥧 refactor: Show Failed Call Fractions and Preview Age (#16468) 2026-09-28 20:55:35 -04:00
data-schemas 🧾 fix: Validate Principal Config Overrides Against configSchema (#16433) 2026-09-28 16:22:22 -04:00