Fix #2180 with adjustment to how tabs are spaced.

Only works on \t; please modify if this is wrong.