Modified cleanup script so that it does not delete empty tags which have
attributes.