This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-b16bc461-8b3d-44ee-8d41-c779fdb6f3f4 XWIKI-25054 Open

The page title and the message are displayed with HTML entities in the Share Page email

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b6a97dc0-9e92-4a9d-af28-fd5c8554f8fa Vincent Massol created this issue on 30/Sep/26 10:22
 
Summary: The page title and the message are displayed with HTML entities in the Share Page email
Issue Type: cid:jira-generated-image-avatar-b16bc461-8b3d-44ee-8d41-c779fdb6f3f4 Bug
Affects Versions: 17.10.13
Assignee: Unassigned
Components: Share Page
Created: 30/Sep/26 10:22
Priority: cid:jira-generated-image-static-major-b8456a5d-16a7-4ae1-b1d5-7d5f3e9ec69a Major
Reporter: Vincent Massol
Description:

The "Share page by email" mail (XWiki.SharePage) displays HTML entities and tags instead of the actual text, in all languages:

  • HTML mail: the link to the shared page uses the page title escaped twice ($escapetool.xml($doc.displayTitle), while displayTitle is already rendered HTML). A page titled A & B is displayed as A & B, and a title with formatting (e.g. *Release* notes) shows the HTML tags (<strong>Release</strong> notes).
  • Plain text mail: the page title and the personal message are HTML-escaped although the mail is plain text. For example, a message containing an apostrophe is received with ', and the title gets the same entities and tags as above.

Expected

  • The link text in the HTML mail displays the plain title (A & B, Release notes).
  • The plain text mail displays the plain title and the message exactly as typed.
 
 

2 updates

 
cid:jira-generated-image-avatar-b6a97dc0-9e92-4a9d-af28-fd5c8554f8fa Changes by Vincent Massol on 30/Sep/26 10:22
 
Fix Version: 18.9.0-rc-1
Assignee: Vincent Massol