fix html in calendar template