Changes HTML markup for list and teaser.