mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-24 06:44:19 +00:00
5 lines
177 B
Python
5 lines
177 B
Python
def telegram_html_escape(string: str):
|
|
return string.replace("<", "<") \
|
|
.replace(">", ">") \
|
|
.replace("&", "&") \
|
|
.replace('"', """)
|