Update to Kirby 4.7.0

This commit is contained in:
Paul Nicoué 2025-04-21 18:57:21 +02:00
parent 02a9ab387c
commit ba25a9a198
509 changed files with 26604 additions and 14872 deletions

View file

@ -64,8 +64,8 @@ class BlockConverter
foreach ($blocks as $index => $block) {
if (in_array($block['type'], ['ul', 'ol']) === true) {
$prev = $blocks[$index-1] ?? null;
$next = $blocks[$index+1] ?? null;
$prev = $blocks[$index - 1] ?? null;
$next = $blocks[$index + 1] ?? null;
// new list starts here
if (!$prev || $prev['type'] !== $block['type']) {