renamed text fn to html since it doesn't escape