added formatToHTML functionality to LocaleText