spans were not utf8-safe