diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php index fbf3ebdc3f..eb87a97071 100644 --- a/system/src/Grav/Common/Page/Page.php +++ b/system/src/Grav/Common/Page/Page.php @@ -507,7 +507,7 @@ public function summary($size = null) } $summary = Utils::truncateHTML($content, $size); - + return html_entity_decode($summary); } @@ -2411,7 +2411,10 @@ public function evaluate($value) switch ($parts[0]) { case 'modular': $results = new Collection(); - $results = $results->addPage($page)->Modular(); + foreach ($page->children() as $child) { + $results = $results->addPage($child); + } + $results->modular(); break; case 'page': case 'self':