Closed rehacktive closed 6 years ago
Yeah that's true. the same goes for _ (underline)
and also seven of ` (backtics) will be a single on
I guess that's because of the markdown feature :thinking:
yes lol
Yeah, there's no way to escape formatting characters in the official clients as far as I know. In the bot API, single *
and _
are used and you can escape them with a backslash (\
). You can use @bold
in inline mode with the "Custom Markdown" option. Note that inline bots' responses are limited to 512 characters.
There's another caveat: you can't escape triple backticks as far as I can tell. If you need an even amount of triple backticks inside monospace text, you can use @bold
with the "Fixedsys" option. But that won't work for an odd amount. Bot API allows HTML which is straightforward, so you could use a HTML formatting bot and escape special formatting characters as HTML entities (I don't know any existing ones off the top of my had).
This is because Telegram Desktop is using **
(and __
) as delimiters when entering bold and italics text as @AliSawari said (markdown feature). So it's not actually a bug, *****
is just **
around *
→ *
.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Logs:
Insert logs here (if necessary)