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:
|
if code_block:
|
||||||
changes += line
|
changes += line
|
||||||
continue
|
continue
|
||||||
if line == '\n' or re.match(r'^\s*\|', line):
|
if line == '\n' or re.match(r'^\s*\|.*', line):
|
||||||
changes += line
|
changes += line
|
||||||
if stripped:
|
if stripped:
|
||||||
changes += line
|
changes += line
|
||||||
|
Reference in New Issue
Block a user