We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04b8a83 commit 0442df9Copy full SHA for 0442df9
build.py
@@ -149,7 +149,7 @@ def parse_file(dst_path, fn):
149
m = re.match('^===+\s*$', line)
150
m2 = re.match('^---+\s*$', line)
151
if m or m2:
152
- if prev_line and len(line) >= len(prev_line) and not title:
+ if prev_line and len(line) >= 1+len(prev_line)//2 and not title:
153
title = prev_line.strip()
154
continue
155
0 commit comments