From 605ade26692e3bdd5f1096d3d9122d5b378b9720 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 19 Feb 2017 13:00:41 +0100 Subject: [PATCH] Format.Sanitize escapes mention special chars now. Fixes 529. --- 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 aa822f99e..5d943cd2c 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}**";