fix(cph): correct nested outline hierarchy

This commit is contained in:
2026-08-05 17:36:43 +08:00
committed by 洪佳荣
parent dd8fcfd366
commit 3d46525f40
10 changed files with 39 additions and 1078 deletions
+1 -1
View File
@@ -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;