Skip to content

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

Merged
elithrar merged 1 commit into
masterfrom
unknown repository
Mar 19, 2020
Merged

elithrar merged 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Dec 20, 2019

Copy link
Copy Markdown

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
Copy Markdown
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