Don't accidentaly remove spans when transforming html content