From c1e445d8ce2c1ac31c780142cda561d409159421 Mon Sep 17 00:00:00 2001 From: Confruggy Date: Sun, 22 Jan 2017 22:33:03 +0100 Subject: [PATCH 1/2] Update Format.cs --- src/Discord.Net.Core/Format.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.Core/Format.cs b/src/Discord.Net.Core/Format.cs index 0039836d8..df4e13f77 100644 --- a/src/Discord.Net.Core/Format.cs +++ b/src/Discord.Net.Core/Format.cs @@ -3,7 +3,7 @@ public static class Format { // Characters which need escaping - private static string[] SensitiveCharacters = { "*", "_", "~", "`", "\\" }; + private static string[] SensitiveCharacters = { "\\", "*", "_", "~", "`", }; /// Returns a markdown-formatted string with bold formatting. public static string Bold(string text) => $"**{text}**"; From 02b07263382a4111fe5a5ba750f6099692539055 Mon Sep 17 00:00:00 2001 From: Confruggy Date: Mon, 23 Jan 2017 16:10:56 +0100 Subject: [PATCH 2/2] Update Format.cs removed comma and space --- src/Discord.Net.Core/Format.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.Core/Format.cs b/src/Discord.Net.Core/Format.cs index df4e13f77..aa822f99e 100644 --- a/src/Discord.Net.Core/Format.cs +++ b/src/Discord.Net.Core/Format.cs @@ -3,7 +3,7 @@ public static class Format { // Characters which need escaping - private static string[] SensitiveCharacters = { "\\", "*", "_", "~", "`", }; + private static string[] SensitiveCharacters = { "\\", "*", "_", "~", "`" }; /// Returns a markdown-formatted string with bold formatting. public static string Bold(string text) => $"**{text}**";