Fix incorrect standard emoji rendering in plaintext

This commit is contained in:
Alexey Golub
2019-03-03 18:41:54 +02:00
parent 28175e2110
commit 492003c75a
2 changed files with 6 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ namespace DiscordChatExporter.Core.Services
else if (node is EmojiNode emojiNode)
{
buffer.Append($":{emojiNode.Name}:");
buffer.Append(emojiNode.IsCustomEmoji ? $":{emojiNode.Name}:" : node.Lexeme);
}
else