change from txt to html for table