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

Fix: Error message containing html are encode twice #3473

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

jaapmarcus
Copy link
Member

@jaapmarcus jaapmarcus commented Apr 17, 2023

Replacing textContent with innerHTML seems to solve the issue.

@jaapmarcus
Copy link
Member Author

Before:
Screenshot 2023-04-17 at 14 17 34

After:
Screenshot 2023-04-17 at 14 42 57

@jaapmarcus jaapmarcus merged commit 7ae9a02 into main Apr 17, 2023
5 checks passed
@jaapmarcus jaapmarcus deleted the fix/error-messages branch April 17, 2023 12:48
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