fix stray end tag span validation error