Change m2m formater to use clickable span