mirror of
https://github.com/openvk/openvk
synced 2025-04-19 22:53:06 +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) {
|
sendMessage(content) {
|
||||||
console.debug("New outcoming message. Pushing preview to local stack.");
|
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();
|
let msgData = new FormData();
|
||||||
msgData.set("content", content);
|
msgData.set("content", content);
|
||||||
|
|
Loading…
Reference in a new issue