Skip to content

Commit

Permalink
fix(im): escape html in sent messages too (#1218)
Browse files Browse the repository at this point in the history
fixes #1215
  • Loading branch information
celestora authored Jan 29, 2025
1 parent 7fe0c6a commit 4166481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/Presenters/templates/Messenger/App.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@

sendMessage(content) {
console.debug("New outcoming message. Pushing preview to local stack.");
let tempId = this.newMessage(content);
let tempId = this.newMessage(escapeHtml(content));

let msgData = new FormData();
msgData.set("content", content);
Expand Down

0 comments on commit 4166481

Please sign in to comment.