There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-eef72572-1936-4c27-a3e0-c044bcf33ee6 XWIKI-25040 Open

The Share Page email templates are inconsistent between languages

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-a068bcbd-06d2-482d-8687-30f2ee2d6284 Vincent Massol on 30/Sep/26 10:26
 
The plain-text versions of the mail (all languages) were HTML-escaping the page title and the personal message, so e.g. an apostrophe in the message was received as {{'}} and the title could appear with HTML entities. They now use {{$doc.plainTitle}} and the raw message; the HTML versions use the escaped plain title for the link text.

Added {{SharePagePageTest}} (in {{xwiki-platform-sharepage-ui}}), which renders the subject, text and HTML of each language, and checks that all languages share the same Velocity directives and references, so that a fix made to one language can't be forgotten in the others.

The HTML entities displayed in the page title and the message of the mail (all languages, not a language inconsistency) are handled separately in XWIKI-25054.