Skip to content

Commit

Permalink
LUI-48: Un escaping the HTML for the retired answer concepts
Browse files Browse the repository at this point in the history
cleaning spaces
  • Loading branch information
mozzy11 committed Jan 14, 2019
1 parent 9dd4a48 commit a49cc47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ legacyui.manageuser.noProviderIdentifier=No Identifier Specified
${project.parent.artifactId}.Location.purgeLocation=Permanently Delete Location
${project.parent.artifactId}.Location.confirmDelete=Are you sure you want to delete this Location? It will be permanently removed from the system.
${project.parent.artifactId}.Location.purgedSuccessfully=Location deleted successfully
${project.parent.artifactId}.Location.purgedSuccessfully=Location deleted successfully
2 changes: 1 addition & 1 deletion omod/src/main/webapp/dictionary/concept.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
<c:forEach items="${command.locales}" var="loc">
<td class="${loc}">
<c:forEach items="${command.conceptAnswersByLocale[loc]}" var="answer">
<a href="concept.htm?conceptId=${fn:substring(answer.key, 0, fn:indexOf(answer.key, '^'))}"><c:out value="${answer.value}" /> (${fn:substring(answer.key, 0, fn:indexOf(answer.key, '^'))})</a><br/>
<a href="concept.htm?conceptId=${fn:substring(answer.key, 0, fn:indexOf(answer.key, '^'))}"><c:out value="${answer.value}" escapeXml="false" /> (${fn:substring(answer.key, 0, fn:indexOf(answer.key, '^'))})</a><br/>
</c:forEach>
</td>
</c:forEach>
Expand Down
2 changes: 1 addition & 1 deletion omod/src/main/webapp/dictionary/conceptForm.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@
<tr>
<td valign="top">
<select class="largeWidth" size="6" id="answerNames" multiple="multiple" onKeyUp="listKeyPress('answerNames', 'answerIds', ' ', event)">
<c:forEach items="${command.conceptAnswers}" var="answer">
<c:forEach items="${command.conceptAnswers}" var="answer" >
<option value="<c:out value="${answer.key}" />"><c:out value="${answer.value}" /> (${fn:substring(answer.key, 0, fn:indexOf(answer.key, '^'))})</option>
</c:forEach>
</select>
Expand Down

0 comments on commit a49cc47

Please sign in to comment.