Clean HTML snippet