Change spaces into tabs