Removing Empty HTML Tags with JQuery or CSS

Recently a client asked for a simple way to remove empty HTML tags in their content. The HTML in question had a number of H2 tags that had no content but were creating space in their WordPress posts. Naturally you could simply remove them using [...]