skype-bot-php icon indicating copy to clipboard operation
skype-bot-php copied to clipboard

Escape forbidden charaters

Open achimha opened this issue 9 years ago • 0 comments

The API requires three characters to be escaped. I think the Conversation activity should do that for the caller:

$text = str_replace(['&', '<', '>'], ['&amp;', '&lt;', '&gt;'], $text);

achimha avatar Jul 18 '16 18:07 achimha