JSON canvas initial

This commit is contained in:
2026-09-22 21:28:28 +02:00
parent 7b451bae86
commit b48d476b39
21 changed files with 3159 additions and 7 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ func secionSpanEnd(sections [][]byte, start int) int {
if level == 0 {
return start + 1
}
for i := start + 1; i <= len(sections); i++ {
for i := start + 1; i < len(sections); i++ {
if l, _ := sectionHeading(sections[i]); l > 0 && l <= level {
return i
}