There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-3b6cc888-7a95-4a65-aca7-6409dca7bd0f XWIKI-25040 Open

The Share Page email templates are inconsistent between languages

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-02bea461-f9ce-4a7f-95e5-3db3a959ccc8 Vincent Massol on 28/Sep/26 17:22
 

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.