From f55c638f41558b10d69e956240ed776c59dfa067 Mon Sep 17 00:00:00 2001 From: acw0 Date: Fri, 15 May 2020 07:32:28 -0400 Subject: [PATCH] Properly show tags containing markdown in system embed --- PluralKit.Bot/Services/EmbedService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Services/EmbedService.cs b/PluralKit.Bot/Services/EmbedService.cs index b10b9240..7a8b42e6 100644 --- a/PluralKit.Bot/Services/EmbedService.cs +++ b/PluralKit.Bot/Services/EmbedService.cs @@ -46,7 +46,7 @@ namespace PluralKit.Bot { string.Join(", ", switchMembers.Select(m => m.Name))); } - if (system.Tag != null) eb.AddField("Tag", system.Tag); + if (system.Tag != null) eb.AddField("Tag", system.Tag.EscapeMarkdown()); eb.AddField("Linked accounts", string.Join(", ", users).Truncate(1000), true); if (system.MemberListPrivacy.CanAccess(ctx))