support for writing html instead of just text