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

echo example: handle received messages as text, not HTML #563

Merged
merged 1 commit into from Mar 19, 2020
Merged

echo example: handle received messages as text, not HTML #563

merged 1 commit into from Mar 19, 2020

Conversation

ghost
Copy link

@ghost ghost commented Dec 20, 2019

The print function adds text as innerHTML, but the text is not HTML. Use textContent instead.

@elithrar elithrar merged commit 81cef7d into gorilla:master Mar 19, 2020
@elithrar
Copy link
Contributor

Merged - thanks!

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

Successfully merging this pull request may close these issues.

2 participants