Fix GFM in events

Fixes #2563