Source code for bohicalog.handlers.telegram.utils
"""
Utility functions for telegram handler
"""
[docs]def escape_html(text):
"""
Escapes all html characters in text
:param str text: Text to escape
:rtype: str
:return: Escaped text
"""
return text.replace("&", "&").replace("<", "<").replace(">", ">")