Skip to content

Commit

Permalink
[FIXED JENKINS-43380] escape HTML and then display it
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Jul 6, 2017
1 parent a5f0512 commit 978eac9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<st:adjunct includes="org.kohsuke.stapler.jquery"/>
<st:adjunct includes="org.biouno.unochoice.stapler.unochoice"/>
<j:set var="paramName" value="${it.randomName}" scope="parent" />
<j:set var="choiceType" value="${it.choiceType}"/>
<j:set var="escapeEntryTitleAndDescription" value="false"/>
<f:entry title="${it.name}" description="${it.description}">
<div name="parameter" description="${it.description}" id='${paramName}'>
<div name="parameter" description="${h.escape(it.description)}" id='${paramName}'>
<input type="hidden" name="name" value="${it.name}" />
<j:choose>
<j:when test="${choiceType eq 'PT_SINGLE_SELECT'}">
Expand Down

0 comments on commit 978eac9

Please sign in to comment.