Convert tabs to spaces and back again