There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-73f9770f-2f53-4eab-a567-4d2cef32b2dd XWIKI-11141 Open

Invitation app's custom message written on multiple lines isn't properly displayed in the email

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-239c1aa6-6343-4a3e-ac49-7a3bad5d9ea6 Charpentier Lucas on 19/Oct/26 14:08
 

Notes from working on the fix:

  • Wikis where an admin customised the invitation message template keep their own version on upgrade, as usual for XAR content. To get the fix, they need to apply the same change to their template: escape the message, then replace \r?\n with <br/>.
  • The plain-text template messageBodyTemplatePlain isn't used: the text part of the invitation mail is always set to an empty string. Plain-text mail clients therefore get no readable body. This could be a separate issue if it's worth fixing.