Skip to content

Commit e78d204

Browse files
committed
WIP
1 parent ba25d66 commit e78d204

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Docs.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ public function getSections(): Collection
385385

386386
$sectionContent = $content->after($tag);
387387

388+
// Если есть следующий заголовок - обрезаем контент до него
388389
if (isset($matches[$index + 1])) {
389390
$sectionContent = $sectionContent->before($matches[$index + 1][0]);
390391
}

0 commit comments

Comments
 (0)