dont strip from right. double space is newline
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user