forked from fmtlib/fmt
Fix handling of tables, take 3
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user