Skip to content
Snippets Groups Projects
Commit 91970d9a authored by Ophestra's avatar Ophestra
Browse files

escape +

parent bd3b9380
Branches master
No related tags found
No related merge requests found
......@@ -262,6 +262,7 @@ func discordMakeHeader(user *discordgo.User) string {
func escapeMarkdown(str string) string {
str = strings.ReplaceAll(str, ">", "\\>")
str = strings.ReplaceAll(str, "_", "\\_")
str = strings.ReplaceAll(str, "+", "\\+")
str = strings.ReplaceAll(str, "-", "\\-")
str = strings.ReplaceAll(str, "=", "\\=")
str = strings.ReplaceAll(str, "*", "\\*")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment