Possible duplicate:
< becomes < when using strophe.js
-
15-10-2022 - |
سؤال
I'm sending message containing <
character.
But the message was recieved as <
character.
Here's my script:
var message = $msg({to: 'user@domain.com', "type": "chat"}).c('body').t('<a href="#">hshshsh</a>').up().c('active', {xmlns: "xhttp://jabber.org/protocol/chatstates"});
Gab.connection.send(message);
The message was actually: <a href="#">hshshsh</a>
But it was recieved as: <a href="#">hshshsh</a>
What does make the <
converted to <
المحلول
لا تنتمي إلى StackOverflow