-
Notifications
You must be signed in to change notification settings - Fork 204
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
FIX: Handle display name with special chars #775
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I commented a trick to workaround below. However, I think if possible, we may consider switching to JSON like what's recommended in #370
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM given @nielslange's explanation here #775 (comment)
@rebeccahum I'm afraid, I'm unable to reproduce what you;'re seeing on your end. On my end, when using a pipe, the guest author is visible as expected. I tested that both with my existing testing site and with a brand-new testing site. |
@rebeccahum Do you see any errors in the console? Strange enough, I'm using the exact environment and on my end, the fix works as expected. Without seeing what you are seeing, it's a bit tricky to apply changes. |
No console errors that stand out for me. Issue is only prevalent when I checkout this PR. @htdat do you run into the same issue as me in testing? |
Works well for me. I am using the same env.
|
Ah, looks like the issue was browser cache enabled — it goes away when I disable it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
I'm glad to hear that it;s working on your end now. |
Fixes #370
Changes
Allow users and guest users to use special characters in the display name.
Steps to test
Jane | Doe
Screenshots