diff --git a/DiscordChatExporter.Core/Services/ExportService.TemplateModel.cs b/DiscordChatExporter.Core/Services/ExportService.TemplateModel.cs index b5920c3..c341267 100644 --- a/DiscordChatExporter.Core/Services/ExportService.TemplateModel.cs +++ b/DiscordChatExporter.Core/Services/ExportService.TemplateModel.cs @@ -221,8 +221,10 @@ namespace DiscordChatExporter.Core.Services } // Custom emojis (<:name:id>) + var isJumboable = Regex.Replace(content, "<(:.*?:)(\\d*)>", "").IsBlank(); + var emojiClass = isJumboable ? "emoji emoji--large" : "emoji"; content = Regex.Replace(content, "<(:.*?:)(\\d*)>", - ""); + $""); return content; }