The course element email / contact allows to add a message template. The message template is used in the run as the default message, it can be used to guide the user to add some things to the mail text hat you want to know.
In the early days, OpenOLAT was not capable of sending HTML mails, thus the template and the mail form was plain-text. At some point we switched to HTML mails in the run, however the template was not updated to be HTML as well.
The problem is that some plain text formatting (line breaks) are discarded when opening the template in the run. The template is all on one line.
The solution is t switch the template editor also to html