Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render ChatGPT response in RTL correctly #48

Merged
merged 1 commit into from Dec 7, 2022
Merged

Render ChatGPT response in RTL correctly #48

merged 1 commit into from Dec 7, 2022

Conversation

jt-wang
Copy link
Contributor

@jt-wang jt-wang commented Dec 6, 2022

type

enhancement

description

Per request by #32, this PR adds support for rendering ChatGPT response in RTL languages correctly.

how

add dir="auto" to the <div> of ChatGPT response. Modern browsers support it well https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir

test

image

@wong2 wong2 merged commit 1fd912b into wong2:main Dec 7, 2022
@wong2
Copy link
Owner

wong2 commented Dec 7, 2022

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants