Files
BTCPay_Greed_NEW/utils.py
2023-03-05 20:04:56 +03:30

6 lines
177 B
Python

def telegram_html_escape(string: str):
return string.replace("<", "&lt;") \
.replace(">", "&gt;") \
.replace("&", "&amp;") \
.replace('"', "&quot;")