Issue Type: Bug Bug
Assignee: Alex Earl
Components: email-ext-plugin
Created: 05/Jan/15 4:36 PM
Description:

I have a job that sends an HTML e-mail with the email-ext-plugin.

The content is configured as such :
${FILE, path="MyFile.html"}

Where MyFile.html is generated from a Python script.

There is an apostrophe in the content of the file. Before the latest update to email-ext-plugin it was displayed "'". Now it is displayed "'" in the email client (tested on OWA and Outlook).

The change seems to be related to this line : https://github.com/jenkinsci/email-ext-plugin/blob/master/src/main/java/hudson/plugins/emailext/plugins/CssInliner.java#L78
The added .escapeMode(Entities.EscapeMode.xhtml)) changes the apostrophe to it's ampersand escaped version.

There is probably a good reason why this line was modified in the first place, but I wonder if there would be a way to make it work on my end. Maybe make the escaping mode configurable?

Thank you

Environment: Email Extension Plugin 2.39, Token Macro 1.10, Jenkins 1.580.2. Windows Server 2012
Project: Jenkins
Labels: email-ext
Priority: Minor Minor
Reporter: Denis Blanchette
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to