Fix formatMessage getting string with html tags