Merge pull request #497 from Confruggy/patch-3

Fixed Format.Sanitize
This commit is contained in:
RogueException
2017-01-26 10:55:08 -04:00
committed by GitHub

View File

@@ -3,7 +3,7 @@
public static class Format
{
// Characters which need escaping
private static string[] SensitiveCharacters = { "*", "_", "~", "`", "\\" };
private static string[] SensitiveCharacters = { "\\", "*", "_", "~", "`" };
/// <summary> Returns a markdown-formatted string with bold formatting. </summary>
public static string Bold(string text) => $"**{text}**";