Convert tabs to spaces in home template