mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fixed copying of emotes with '< >' symbols.
This commit is contained in:
parent
8bcd27cedf
commit
23458aa1df
1 changed files with 1 additions and 0 deletions
|
@ -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("<", "<").replace(">", ">");
|
||||||
if (this->hasTrailingSpace())
|
if (this->hasTrailingSpace())
|
||||||
{
|
{
|
||||||
str += " ";
|
str += " ";
|
||||||
|
|
Loading…
Reference in a new issue