convert $th content special characters to HTML and make all the tables with the same with