[PR #16944] [MERGED] FIX: Auto RTL-LTR text orientation in Messages & Reversion previous PR #63142

Closed
opened 2026-05-06 07:44:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/16944
Author: @rgaricano
Created: 8/27/2025
Status: Merged
Merged: 8/27/2025
Merged by: @tjbck

Base: devHead: dev-FIX_RTL_in_messages-LTR_codeblock


📝 Commits (5)

  • 804340e Merge branch 'open-webui:main' into dev-FIX_RTL_in_messages-LTR_codeblock
  • 65a9a7e Revert changes for fix orientation in CodeBlock.svelte
  • 1777885 Revert last changes in UserMessage.svelte
  • 7644d66 Revert last change in ResponseMessage.svelte
  • ddc88d6 FIX: Auto RTL-LTR text orientation

📊 Changes

4 files changed (+5 additions, -10 deletions)

View changed files

📝 src/lib/components/chat/Messages/CodeBlock.svelte (+1 -1)
📝 src/lib/components/chat/Messages/Message.svelte (+2 -2)
📝 src/lib/components/chat/Messages/ResponseMessage.svelte (+1 -6)
📝 src/lib/components/chat/Messages/UserMessage.svelte (+1 -1)

📄 Description

FIX: Auto RTL-LTR text orientation in Messages & Reversion previous PR https://github.com/open-webui/open-webui/pull/16878


As commented in https://github.com/open-webui/open-webui/discussions/16827 the proposal PR https://github.com/open-webui/open-webui/pull/16878 doesn't fix the real problem.

After recheck previous behaviour I found that the problem is in
1db8dec4f5/src/lib/components/chat/Messages/Message.svelte (L47)
This tag was a <div> and changed by <li> in commit bb6864dd12 (r164667886)
& this change broke the previous behavior of auto text orientation.

As reverting this change fix the auto text orientation the changes done in PR https://github.com/open-webui/open-webui/pull/16878 are unnecessaries & its are reverted in this PR too.


Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/16944 **Author:** [@rgaricano](https://github.com/rgaricano) **Created:** 8/27/2025 **Status:** ✅ Merged **Merged:** 8/27/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dev-FIX_RTL_in_messages-LTR_codeblock` --- ### 📝 Commits (5) - [`804340e`](https://github.com/open-webui/open-webui/commit/804340ee26a8b563d08c893d01dc75d65230af44) Merge branch 'open-webui:main' into dev-FIX_RTL_in_messages-LTR_codeblock - [`65a9a7e`](https://github.com/open-webui/open-webui/commit/65a9a7eae055f7c15bf069ff4096f3a59b3e5ede) Revert changes for fix orientation in CodeBlock.svelte - [`1777885`](https://github.com/open-webui/open-webui/commit/177788540b799fa770fffd18d09fa6f54aa955b2) Revert last changes in UserMessage.svelte - [`7644d66`](https://github.com/open-webui/open-webui/commit/7644d669020e615eb1c8be27818df18821dfafd4) Revert last change in ResponseMessage.svelte - [`ddc88d6`](https://github.com/open-webui/open-webui/commit/ddc88d615c1ea540b138876decd9f43938584be5) FIX: Auto RTL-LTR text orientation ### 📊 Changes **4 files changed** (+5 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Messages/CodeBlock.svelte` (+1 -1) 📝 `src/lib/components/chat/Messages/Message.svelte` (+2 -2) 📝 `src/lib/components/chat/Messages/ResponseMessage.svelte` (+1 -6) 📝 `src/lib/components/chat/Messages/UserMessage.svelte` (+1 -1) </details> ### 📄 Description ### FIX: Auto RTL-LTR text orientation in Messages & Reversion previous PR https://github.com/open-webui/open-webui/pull/16878 ___ As commented in https://github.com/open-webui/open-webui/discussions/16827 the proposal PR https://github.com/open-webui/open-webui/pull/16878 doesn't fix the real problem. After recheck previous behaviour I found that the problem is in https://github.com/open-webui/open-webui/blob/1db8dec4f52fc0fa8f8f7bfbb8ea5bde41fee17d/src/lib/components/chat/Messages/Message.svelte#L47 This tag was a `<div>` and changed by `<li>` in commit https://github.com/open-webui/open-webui/commit/bb6864dd127e8bc0b0467dfb9eb87f460acecfa8#r164667886 & this change broke the previous behavior of auto text orientation. As reverting this change fix the auto text orientation the changes done in PR https://github.com/open-webui/open-webui/pull/16878 are unnecessaries & its are reverted in this PR too. ___ ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 07:44:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#63142