Add new line and word-joiner in speaker organisation label

This commit is contained in:
Vencislav Atanasov 2023-10-17 00:54:07 +03:00
parent 9f3dc1a1aa
commit 9e4448b363
1 changed files with 2 additions and 1 deletions

View File

@ -286,7 +286,8 @@ function parseData($config, $data) {
$speaker = $data['speakers'][$uid]; $speaker = $data['speakers'][$uid];
$name = $speaker['first_name'] . ' ' . $speaker['last_name']; $name = $speaker['first_name'] . ' ' . $speaker['last_name'];
$organisation = empty($speaker['organisation']) ? '' : (' /' . $speaker['organisation'] . '/'); $organisation = empty($speaker['organisation']) ? '' :
('<br>/&#8288;' . $speaker['organisation'] . '&#8288;/');
$spk[] = '<a class="vt-p" href="#' . $name . '">' . $name . '</a>' . $organisation; $spk[] = '<a class="vt-p" href="#' . $name . '">' . $name . '</a>' . $organisation;
} }