SONAR-4321 improve rendering of dates and html text