From 204a2a1ec00c91eff79995201b2d7fa3853a7ab2 Mon Sep 17 00:00:00 2001 From: Ramzan Bekbulatov Date: Sun, 7 Nov 2021 02:26:59 +0300 Subject: [PATCH] enh: change invisible symbol in hide_link (#738) 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''