From 1e53f50ca3c24e215fbb86e655c6a0670c96dd5e Mon Sep 17 00:00:00 2001 From: Tyrrrz Date: Sat, 19 Jun 2021 23:09:07 +0300 Subject: [PATCH] [HTML] Simplify disabling jumbo in referenced message content --- DiscordChatExporter.Core/Exporting/Writers/Html/Core.css | 5 ----- .../Exporting/Writers/Html/MessageGroupTemplate.cshtml | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/DiscordChatExporter.Core/Exporting/Writers/Html/Core.css b/DiscordChatExporter.Core/Exporting/Writers/Html/Core.css index 462e0b63..e7724a2f 100644 --- a/DiscordChatExporter.Core/Exporting/Writers/Html/Core.css +++ b/DiscordChatExporter.Core/Exporting/Writers/Html/Core.css @@ -256,11 +256,6 @@ img { text-decoration: none; } -.chatlog__reference-content > .emoji { - width: 1.325em; - height: 1.325em; -} - .chatlog__reference-edited-timestamp { margin-left: 0.25em; font-size: 0.8em; diff --git a/DiscordChatExporter.Core/Exporting/Writers/Html/MessageGroupTemplate.cshtml b/DiscordChatExporter.Core/Exporting/Writers/Html/MessageGroupTemplate.cshtml index 721fbdd6..351a6ea4 100644 --- a/DiscordChatExporter.Core/Exporting/Writers/Html/MessageGroupTemplate.cshtml +++ b/DiscordChatExporter.Core/Exporting/Writers/Html/MessageGroupTemplate.cshtml @@ -58,7 +58,7 @@ @if (!string.IsNullOrWhiteSpace(Model.MessageGroup.ReferencedMessage.Content)) { - @Raw(FormatMarkdown(Model.MessageGroup.ReferencedMessage.Content)) + @Raw(FormatEmbedMarkdown(Model.MessageGroup.ReferencedMessage.Content)) } else {