Details
Description
While adding Aria attributes we used html_writer which converts & to & for event links.
calendar/lib.php - Line 359 should be reverted back from
$cell = html_writer::link((string)$dayhref, $day, array('aria-controls' => $popupid.'_panel', 'id' => $popupid));
|
to
$cell = '<a href="'.(string)$dayhref.'" '.$popupid.' aria-controls="'.$popupid.'_panel" id="'.$popupid.'">'.$day.'</a>';
|
Steps to reproduce:
- Add two events to calendar
- On the calendar block, make sure both events are visible.
- Click on event and make sure you are redirected to proper event and link should not contain &