We found that when Drupal generated teasers, it did not bother to clean up the HTML tags and left them open. Obviously not cool. Here’s a very basic function to make sure all your tags are closed. You can use it in Drupal, WordPress, whatever. You just call