Add more escape characters (#20)

This commit is contained in:
Egor Cherniak 2023-07-10 15:41:20 +03:00 committed by GitHub
parent 535876b5b8
commit 743de92a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,8 +110,16 @@ public class MenuCallbackMapper {
.replace("_", "\\_")
.replace("*", "\\*")
.replace("[", "\\[")
.replace("]", "\\]")
.replace("(", "\\(")
.replace(")", "\\)")
.replace("~", "\\~")
.replace("#", "\\#")
.replace("`", "\\`")
.replace(".", "\\.")
.replace("-", "\\-");
.replace("+", "\\+")
.replace("-", "\\-")
.replace("=", "\\=")
.replace(">", "\\>");
}
}