diff --git a/todo/todo.py b/todo/todo.py index 4768cb2..9a7949f 100644 --- a/todo/todo.py +++ b/todo/todo.py @@ -64,7 +64,7 @@ def parse_note(note_f: str, line_matcher: re.Pattern) -> dict: else: if m.group(2) and curr_section: todo[curr_section].append(m.group(4)) - elif curr_section: + elif not m.group(3) and curr_section: todo[curr_section][-1] += f"\n {m.group(4)}" return todo