Use code tags so the HTML entities show up correctly.

Change By: Travis Burtrum (20/Dec/12 3:32 PM)
Description: On most pages, like these:

https://ci.jenkins-ci.org/job/jenkins_rc_branch/changes
https://ci.jenkins-ci.org/user/kohsuke/

When the username is something like "Joe User <[email protected]>", it is incorrectly escaped in the HTML as:
 "  {code:xml} Joe User &lt;[email protected]> " {code}

Then on the changes page for a specific build:

https://ci.jenkins-ci.org/job/jenkins_rc_branch/300/changes

A username like the above wouldn't be escaped at all, so would be "Joe User <[email protected]>" in the HTML.

Of course the proper way to escape this would be:
{code:xml}Joe User &lt;[email protected]&gt;{code}

We are using the mercurial plugin with rhodecode as the mercurial server, and I'm not sure if it's the job of the SCM plugin to escape these or whatever outputs the HTML, though I would think the latter.
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

Reply via email to