diff --git a/src/messages/layouts/MessageLayoutElement.cpp b/src/messages/layouts/MessageLayoutElement.cpp index 51b3b7374..973c125a6 100644 --- a/src/messages/layouts/MessageLayoutElement.cpp +++ b/src/messages/layouts/MessageLayoutElement.cpp @@ -99,6 +99,7 @@ void ImageLayoutElement::addCopyTextToString(QString &str, int from, if (emoteElement) { str += emoteElement->getEmote()->getCopyString(); + str.replace("<", "<").replace(">", ">"); if (this->hasTrailingSpace()) { str += " ";