mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-06-04 08:29:45 -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 */}
|
@{/* 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>
|
<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 */}
|
@{/* System notification content */}
|
||||||
<span class="chatlog__system-notification-content">
|
<span class="chatlog__system-notification-content">
|
||||||
@if (message.Kind == MessageKind.RecipientAdd && message.MentionedUsers.Any())
|
@if (message.Kind == MessageKind.RecipientAdd && message.MentionedUsers.Any())
|
||||||
|
@ -142,7 +145,6 @@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<span> </span>
|
|
||||||
<span>@message.Content.ToLowerInvariant()</span>
|
<span>@message.Content.ToLowerInvariant()</span>
|
||||||
}
|
}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue