| @@ -555,19 +555,14 @@ | ||
| 555 | 555 | |
| 556 | 556 | $viewEmployees = array(); |
| 557 | 557 | foreach( $employees as $employee ){ |
| 558 | 558 | $label = $this->employeesPresenter->presentTitle( $employee ); |
| 559 | + | |
| 559 | 560 | $title = htmlspecialchars( $label ); |
| 560 | - | |
| 561 | 561 | $description = $employee->getDescription(); |
| 562 | 562 | if( strlen($description) ){ |
| 563 | - $imgpos = strpos( $description, '<img' ); | |
| 564 | - if( false !== $imgpos ){ | |
| 565 | - $label = $this->ui->makeList( array($label, $description) ); | |
| 566 | - } | |
| 567 | - else { | |
| 568 | - $title .= "\n" . htmlspecialchars( $description ); | |
| 569 | - } | |
| 563 | + $description = htmlspecialchars( $description ); | |
| 564 | + $title .= "\n" . $description; | |
| 570 | 565 | } |
| 571 | 566 | |
| 572 | 567 | $label = $this->ui->makeSpan( $label ) |
| 573 | 568 | ->tag( 'font-size', 4 ) |