added '\' to markdown escape characters

This commit is contained in:
YouKnow 2024-09-04 05:04:37 +03:30
parent 0c63375c03
commit 9b3d920819

View file

@ -4,8 +4,8 @@
use teloxide_core::types::{User, UserId};
pub(super) const ESCAPE_CHARS: [char; 18] =
['_', '*', '[', ']', '(', ')', '~', '`', '>', '#', '+', '-', '=', '|', '{', '}', '.', '!'];
pub(super) const ESCAPE_CHARS: [char; 19] =
['\\', '_', '*', '[', ']', '(', ')', '~', '`', '>', '#', '+', '-', '=', '|', '{', '}', '.', '!'];
/// Applies the bold font style to the string.
///