forked from EduCraft/curriculum-project-hub
fix(cph): correct nested outline hierarchy
This commit is contained in:
@@ -176,7 +176,7 @@ fn consume_outline_children(
|
||||
depth,
|
||||
path,
|
||||
} => {
|
||||
if *depth < minimum_section_depth {
|
||||
if *depth <= minimum_section_depth {
|
||||
break;
|
||||
}
|
||||
let section_depth = *depth;
|
||||
|
||||
Reference in New Issue
Block a user