Clean up HTML code in event view