diff options
-rw-r--r-- | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,7 @@ import configstore import subprocess import os +from html import escape from time import sleep from strings import lang as _ from telegram import ( @@ -43,7 +44,7 @@ def get_markup() -> ReplyKeyboardMarkup: def reply(update: Update, text: str) -> None: - update.message.reply_text(text, + update.message.reply_text(escape(text), reply_markup=get_markup(), parse_mode=ParseMode.HTML) |