diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-04-15 15:54:37 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-04-15 15:54:37 +0300 |
commit | 3a54981b4d40d96fc770839dee7aae6fcc921e19 (patch) | |
tree | f0959738c42c7fbdc47fd3ff98513c42324a1d0f | |
parent | fd1f743452ef5534676645e6aec61008108252a1 (diff) | |
parent | c820aea8b7c6a9a1076c1b4339cf5933e7fdbee0 (diff) |
Merge branch 'master' into shell-backdoor
-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) |