overtake / TelegramSwift

Source code of Telegram for macos on Swift 5.0
https://macos.telegram.org
GNU General Public License v2.0
5.07k stars 858 forks source link

Bold+Italic transformation doesn't work when message gets sent, only Italic remains #1120

Open fedor-ryzhenkov-main opened 6 months ago

fedor-ryzhenkov-main commented 6 months ago

Steps to reproduce:

  1. Type any message
  2. Select the text and press cmd+B and cmd+I
  3. Send message

Expected behaviour

Text should be consistent between the message editor and the chat

Actual behaviour

Text is Bold+Italic in the editor, but only Italic when you send it

Operating system

MacOS 13.6.7 (22G720)

Version of Telegram

10.10.2.261795 AppStore

fedor-ryzhenkov-main commented 6 months ago

https://github.com/overtake/TelegramSwift/assets/20258112/89c26dcd-1947-4b23-9ad9-1e94d460dc70

zweeltow commented 3 months ago

The client does not display this combination. Other Telegram clients display text correctly, even if you send text from a native macOS app.