Unigram icon indicating copy to clipboard operation
Unigram copied to clipboard

Special formatting breaks links when send to chat

Open VitalD opened this issue 4 months ago • 4 comments

When I insert links that contains double dashes (__) around words it inserts and formated (italic) text and break link. Example: if I insert using Ctrl+V text of link "https://domain.example/card/sale__flat__2065179767" in chat "flat" part of link replaces with "flat" and link breaks to 3 parts. Actually it looks this way:

Image

VitalD avatar Aug 19 '25 17:08 VitalD

@VitalD This behavior is consistent with other official clients. You might want to use link formatting (Ctrl+K, Markdown link format also works)

P.S. Tried with Telegram for Android, and got the same result.

makisukurisu avatar Aug 19 '25 17:08 makisukurisu

In Telegram Desktop this links inserts without problems, other clients I didn't test

VitalD avatar Aug 20 '25 11:08 VitalD

If using win or an editor, the 'use friendly names' using html [version]. Also, the full code can be obtained, if experiencing problems still, by using an editor and 'paste special' the code is copied with the XPS

jennnovak avatar Nov 17 '25 01:11 jennnovak

This is a limitation in TDLib's markdown parser.

FrayxRulez avatar Dec 11 '25 14:12 FrayxRulez