template formating - spaces to tabs