This commit is contained in:
Rieger, Simon 2023-07-03 09:54:25 +02:00
parent 9ac8161427
commit 697d849574

View file

@ -18,7 +18,7 @@ lines = output.split("\n")
new_lines = [] new_lines = []
for line in lines: for line in lines:
clean_line = escape(line).split(" ::")[0] clean_line = escape(line).split(" ::")[0]
if len(clean_line) and not clean_line[0] in ['0', '1', '2']: if len(clean_line) and clean_line[0].isalpha():
clean_line = "\n<b>"+clean_line+"</b>" clean_line = "\n<b>"+clean_line+"</b>"
new_lines.append(clean_line) new_lines.append(clean_line)
output = "\n".join(new_lines).strip() output = "\n".join(new_lines).strip()