Problem/Motivation
The reply message is authored using CKEditor5 (as provided by the Webform module through '#type' => 'webform_html_editor'), but the resulting HTML email body is escaped before being sent.
This leads to replies rendering as plain text with visible HTML tags, which is confusing for site builders and breaks expected webform_html_editor HTML abilities.
Steps to reproduce
- Enable
webform_email_reply.
- Configure an email reply message using CKEditor formatting(e.g. bold text, links).
- Submit the webform and trigger the email reply.
- View the received email.
Proposed resolution
Ensure that HTML generated by CKEditor is treated as HTML-safe when building the email body, or otherwise align the text format handling so that formatted reply messages render correctly in HTML emails.
Comments
Comment #3
joelpittetComment #4
martijn de witI don't know what happend in gitlab. I can see the commit from the other issue on this merge request.The merge request is also targeted to 2.x and not to 3.x
Maybe you can create a new merge request targeted it to 3.x with your code ?
Comment #5
martijn de witI have changed the target of the merge request