diff --git a/app/classes/web/ajax_handler.py b/app/classes/web/ajax_handler.py index 5c479e50..ab5d974d 100644 --- a/app/classes/web/ajax_handler.py +++ b/app/classes/web/ajax_handler.py @@ -70,9 +70,7 @@ class AjaxHandler(BaseHandler): for line in data: try: - line = re.sub( - "(\033\\[(0;)?[0-9]*[A-z]?(;[0-9])?m?)|(> )", "", line - ) + line = re.sub("(\033\\[(0;)?[0-9]*[A-z]?(;[0-9])?m?)", "", line) line = re.sub("[A-z]{2}\b\b", "", line) line = self.helper.log_colors(html.escape(line)) self.write(f"{line}
")