Template:ETH Zurich/delete empty elements

$('p, div').filter(function () { return $.trim(this.innerHTML) == "" }).remove();