diff --git a/src/Table.php b/src/Table.php index 6c3ce4e..ba8d6fd 100644 --- a/src/Table.php +++ b/src/Table.php @@ -160,7 +160,7 @@ private function getLesson(Element $cell, bool $diversion = false): array 'subject' => $subject->text(), 'diversion' => $diversion, 'alt' => trim($cell->findXPath('./text()')->text()), - 'substitution' => $cell->findXPath('./*[@class="zas"]')->text(), + 'substitution' => $cell->find('.zas')->text(), ]; $subjects = $cell->findXPath('./*[@class="p"]');