Skip to content

Conversation

@sirilyan
Copy link
Collaborator

  1. Make message display (chats list and chat history) render HTML.
  2. The message repository must defang any HTML that comes in, so use sanitize-html on it.
  3. When the user posts to the messaging/create endpoint, defang whatever HTML they may try to submit.

@sirilyan sirilyan requested a review from johnHackworth April 13, 2024 07:29
@sirilyan sirilyan linked an issue Apr 13, 2024 that may be closed by this pull request
@sirilyan
Copy link
Collaborator Author

I'm pretty sure messages only show up in the chat panes, but we should double-check that before merging

@sirilyan sirilyan marked this pull request as draft April 14, 2024 02:46
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.

Received chat messages that contain HTML render raw <tags>

1 participant