dont strip from right. double space is newline

This commit is contained in:
Ville Rantanen
2023-04-19 08:26:46 +03:00
parent d5c4390813
commit f06545a491

View File

@@ -44,7 +44,6 @@ def main():
in_code = not in_code in_code = not in_code
if not any((in_code, in_table)): if not any((in_code, in_table)):
row = row.rstrip(" ")
if len(row.strip(" ")) == 0: if len(row.strip(" ")) == 0:
row = "" row = ""
if len(row) > opts.w: if len(row) > opts.w: