mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
added '\' to markdown escape characters
This commit is contained in:
parent
0c63375c03
commit
9b3d920819
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
use teloxide_core::types::{User, UserId};
|
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.
|
/// Applies the bold font style to the string.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue