From 50477ccf7064fe265a792eb1cbefeb0d50211f8b Mon Sep 17 00:00:00 2001 From: Ramzan Bekbulatov Date: Wed, 3 Nov 2021 12:01:24 +0000 Subject: [PATCH] enh: change invisible symbol in hide_link There is a problem with the current symbol on android devices. When trying to change the text of a post in a channel, the hidden link often disappeared when editing. Word joiner symbol seems to be more stable in this case. https://en.wikipedia.org/wiki/Word_joiner --- aiogram/utils/markdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/utils/markdown.py b/aiogram/utils/markdown.py index da27bc39..75f5fea0 100644 --- a/aiogram/utils/markdown.py +++ b/aiogram/utils/markdown.py @@ -247,4 +247,4 @@ def hide_link(url: str) -> str: :param url: :return: """ - return f'' + return f''