add html to text theory