Fixed copying of emotes with '< >' symbols.

This commit is contained in:
23rd 2018-11-04 02:15:34 +03:00 committed by pajlada
parent 8bcd27cedf
commit 23458aa1df

View file

@ -99,6 +99,7 @@ void ImageLayoutElement::addCopyTextToString(QString &str, int from,
if (emoteElement) if (emoteElement)
{ {
str += emoteElement->getEmote()->getCopyString(); str += emoteElement->getEmote()->getCopyString();
str.replace("&lt;", "<").replace("&gt;", ">");
if (this->hasTrailingSpace()) if (this->hasTrailingSpace())
{ {
str += " "; str += " ";