Very, Very strange behaviour, never seen this before... try deleting everything in the template editor, and then paste everything in the tpl file (it will open in notepad or wordpad) into the editor and hit apply.... then see what happens.
OH, what build of HFS are you using...