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
This commit is contained in:
Ramzan Bekbulatov 2021-11-07 02:26:59 +03:00 committed by GitHub
parent 57aea755a2
commit 204a2a1ec0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -247,4 +247,4 @@ def hide_link(url: str) -> str:
:param url:
:return:
"""
return f'<a href="{url}">&#8203;</a>'
return f'<a href="{url}">&#8288;</a>'