Skip to content

Commit

Permalink
Select substitution by contains zas class
Browse files Browse the repository at this point in the history
  • Loading branch information
mklkj committed Apr 15, 2018
1 parent 0e06752 commit 36df84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"]');
Expand Down

0 comments on commit 36df84a

Please sign in to comment.