mirror of
https://github.com/openvk/openvk
synced 2025-04-19 14:43:01 +03:00
#1215 fix(im): escape html in sent messages too
This commit is contained in:
parent
7fe0c6a122
commit
cd5bb9f106
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue