cleanup HTML on TBConfig