auto-schedule-pro-v2: fix HTML escaping

This commit is contained in:
dymik739 2023-09-06 17:36:18 +03:00
parent 67b3c4278b
commit 5dc78b8cb0
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def escaped_string_markdownV2(input_string):
def escaped_string_html(input_string): def escaped_string_html(input_string):
result_string = input_string result_string = input_string
symbols_to_escape = ['<', '>', '/'] symbols_to_escape = ['<', '>']
for symbol in symbols_to_escape: for symbol in symbols_to_escape:
result_string = result_string.replace(symbol, f"\\{symbol}") result_string = result_string.replace(symbol, f"\\{symbol}")