mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-10 23:13:20 -05:00
[PR #16944] [MERGED] FIX: Auto RTL-LTR text orientation in Messages & Reversion previous PR #39916
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
dev← Head:dev-FIX_RTL_in_messages-LTR_codeblock📝 Commits (5)
804340eMerge branch 'open-webui:main' into dev-FIX_RTL_in_messages-LTR_codeblock65a9a7eRevert changes for fix orientation in CodeBlock.svelte1777885Revert last changes in UserMessage.svelte7644d66Revert last change in ResponseMessage.svelteddc88d6FIX: 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 commitbb6864dd12 (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.