diff --git a/src/messages/layouts/MessageLayoutElement.cpp b/src/messages/layouts/MessageLayoutElement.cpp index 51b3b737..973c125a 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 += " ";