JSON canvas initial

This commit is contained in:
2026-09-17 17:07:04 +02:00
parent b14941b3e0
commit 7797d4a456
22 changed files with 3277 additions and 19 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
}