mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-25 23:43:33 +00:00
Normalize spaces before system notifications
This commit is contained in:
@@ -92,6 +92,9 @@
|
||||
@{/* Author name */}
|
||||
<span class="chatlog__system-notification-author" style="@(userColor is not null ? $"color: rgb({userColor.Value.R}, {userColor.Value.G}, {userColor.Value.B})" : null)" title="@message.Author.FullName" data-user-id="@message.Author.Id">@userNick</span>
|
||||
|
||||
@{/* Space out the content */}
|
||||
<span> </span>
|
||||
|
||||
@{/* System notification content */}
|
||||
<span class="chatlog__system-notification-content">
|
||||
@if (message.Kind == MessageKind.RecipientAdd && message.MentionedUsers.Any())
|
||||
@@ -142,7 +145,6 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
<span> </span>
|
||||
<span>@message.Content.ToLowerInvariant()</span>
|
||||
}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user