add str2html for html support