In content management systems like Wordpress we often find that the system auto-generates <p></p> tags. That's a real annoyance as it adds empty space amongst layouts. Here's a simple jQuery snippet to remove empty paragraphs:-

In our example we are targeting ".entry-content', but this can be applied to any paragraph parent div.