Skip to content
Permalink
Browse files Browse the repository at this point in the history
[DS-4453] Escape spellcheck, autocomplete HTML (JSPUI)
  • Loading branch information
kshepherd committed Jul 26, 2022
1 parent 28eb815 commit c89e493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dspace-jspui/src/main/webapp/search/discovery.jsp
Expand Up @@ -196,7 +196,7 @@
<input type="text" size="50" id="query" name="query" value="<%= (query==null ? "" : Utils.addEntities(query)) %>"/>
<input type="submit" id="main-query-submit" class="btn btn-primary" value="<fmt:message key="jsp.general.go"/>" />
<% if (StringUtils.isNotBlank(spellCheckQuery)) {%>
<p class="lead"><fmt:message key="jsp.search.didyoumean"><fmt:param><a id="spellCheckQuery" data-spell="<%= Utils.addEntities(spellCheckQuery) %>" href="#"><%= spellCheckQuery %></a></fmt:param></fmt:message></p>
<p class="lead"><fmt:message key="jsp.search.didyoumean"><fmt:param><a id="spellCheckQuery" data-spell="<%= Utils.addEntities(spellCheckQuery) %>" href="#"><%=Utils.addEntities(spellCheckQuery) %></a></fmt:param></fmt:message></p>
<% } %>
<input type="hidden" value="<%= rpp %>" name="rpp" />
<input type="hidden" value="<%= Utils.addEntities(sortedBy) %>" name="sort_by" />
Expand Down

0 comments on commit c89e493

Please sign in to comment.