If you add html formatted message to your test report following documentation: http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#logging-example the message will not appear correctly in the log file: 