ticket:14 replace tabs by spaces in templates