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
This commit is contained in:
Ramzan Bekbulatov 2021-11-03 12:01:24 +00:00 committed by GitHub
parent a57f9cfc70
commit 50477ccf70
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>'