Fix handling of tables, take 3

This commit is contained in:
Victor Zverovich 2024-06-29 09:31:32 -07:00
parent 5d0adb6d74
commit dedc17c1c9

View File

@ -178,7 +178,7 @@ def release(args):
if code_block:
changes += line
continue
if line == '\n' or re.match(r'^\s*\|', line):
if line == '\n' or re.match(r'^\s*\|.*', line):
changes += line
if stripped:
changes += line