some extra html closing tags and final linebreaks