mirror of
https://github.com/archtechx/todo-system.git
synced 2025-12-12 09:04:03 +00:00
fix readme scanner
This commit is contained in:
parent
323758d069
commit
a25a5a8463
2 changed files with 7 additions and 0 deletions
|
|
@ -20,3 +20,8 @@ def
|
||||||
- todo0 def
|
- todo0 def
|
||||||
- [ ] bar
|
- [ ] bar
|
||||||
- [ ] baz
|
- [ ] baz
|
||||||
|
|
||||||
|
## Another section
|
||||||
|
|
||||||
|
- abc
|
||||||
|
- def
|
||||||
|
|
|
||||||
|
|
@ -333,6 +333,8 @@ pub fn scan_readme_file(path: &Path, entries: &mut Vec<Entry>) -> io::Result<()>
|
||||||
|
|
||||||
if cleaned_section == "todo" || cleaned_section == "todos" {
|
if cleaned_section == "todo" || cleaned_section == "todos" {
|
||||||
in_todo_section = true;
|
in_todo_section = true;
|
||||||
|
} else {
|
||||||
|
in_todo_section = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue