remove superfluous ul, close spans, etc: valid!