mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-28 13:44:12 -04:00
Normalize spaces before system notifications
This commit is contained in:
parent
3b2c308a25
commit
f99f1f4641
1 changed files with 12 additions and 10 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue