refactor span.class to .class for calendar links.