Handle all cases in spaceless.