fixed manual HTML handling of whitespace before content