I think you have to search/replace:
{{=XML(str(message_body).replace('\n', '<br>'), sanitize=True)}}I'm not sure if str() is always necessary or if sanitize needs to be True.
I think you have to search/replace:
{{=XML(str(message_body).replace('\n', '<br>'), sanitize=True)}}I'm not sure if str() is always necessary or if sanitize needs to be True.