|
|
@ -1,6 +1,7 @@
|
|
|
|
@using System
|
|
|
|
@using System
|
|
|
|
@using System.Linq
|
|
|
|
@using System.Linq
|
|
|
|
@using System.Threading.Tasks
|
|
|
|
@using System.Threading.Tasks
|
|
|
|
|
|
|
|
@using DiscordChatExporter.Core.Exporting.Writers.Html;
|
|
|
|
|
|
|
|
|
|
|
|
@namespace DiscordChatExporter.Core.Exporting.Writers.Html
|
|
|
|
@namespace DiscordChatExporter.Core.Exporting.Writers.Html
|
|
|
|
@inherits MiniRazor.TemplateBase<MessageGroupTemplateContext>
|
|
|
|
@inherits MiniRazor.TemplateBase<MessageGroupTemplateContext>
|
|
|
@ -61,6 +62,10 @@
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@Raw(FormatEmbedMarkdown(Model.MessageGroup.ReferencedMessage.Content))
|
|
|
|
@Raw(FormatEmbedMarkdown(Model.MessageGroup.ReferencedMessage.Content))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else if (Model.MessageGroup.ReferencedMessage.Attachments.Any() || Model.MessageGroup.ReferencedMessage.Embeds.Any())
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
<em>Click to see attachment</em> <span>🖼️</span>
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
<em>Click to see original message</em>
|
|
|
|
<em>Click to see original message</em>
|
|
|
|