Event in Listview breaks if title contains "|"
The eventlink generates wrong html code, if the event title contains a pipe symbol "|".
The cause is in model/class.tx_cal_phpicalendar_model.php in getEventLinkMarker(), where the result of an function call is exploded on "|":
$wrapped['###EVENT_LINK###'] = explode("|",$this->getLinkToEvent("|",$view, $eventStart->format('%Y%m%d')));
If the title contains a pipe too, there are 2 pipes in the result and the explode goes wrong.
The simple fix would be to change the split token from "|" to something more unique like "$5&xs2".
#4 Updated by Jeff Segars about 5 years ago
Looks like we have one followup needed for cal_ts_service. It is still trying to use the pipe characters, which results in strange output. Attached patches for cal and cal_ts_service seem to fix it for me.