convert to html encode
remove styles from header