Browse Source

Format.Sanitize escapes mention special chars now. Fixes 529.

pull/530/head
Raphael 8 years ago
parent
commit
605ade2669
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Core/Format.cs

+ 1
- 1
src/Discord.Net.Core/Format.cs 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}**";


Loading…
Cancel
Save