Quote hook event, as it may contain space.