Skip to content

Commit

Permalink
replace usages of q() with h() where appropriate (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-matthewb authored Jan 11, 2024
1 parent c73de30 commit 0df405a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flow/src/org/labkey/flow/webparts/FlowSummary.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
String iconCls = StringUtils.isNotEmpty(sample.getComment()) ? FlagColumnRenderer.flagEnabledCls() : "";
%>
"<tr>" +
"<td><a<%=comment%> href='<%=h(url)%>'><i class=<%=q(iconCls)%>/></a>" +
"<td><a<%=comment%> href='<%=h(url)%>'><i class='<%=h(iconCls)%>'/></a>" +
"<td nowrap><a<%=comment%> href='<%=h(url)%>'><%=h(name)%></a>" +
"</tr>" +
<%
Expand Down
2 changes: 1 addition & 1 deletion ms2/src/org/labkey/ms2/search/msTabbedSearch.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
boolean targetedMSModuleActive = getContainer().getActiveModules().contains(ModuleLoader.getInstance().getModule("TargetedMS"));
String renderId = "tabbed-search-form-" + getRequestScopedUID();
%>
<div id=<%=q(renderId)%>></div>
<div id="<%=h(renderId)%>"></div>

<style type="text/css">
Expand Down

0 comments on commit 0df405a

Please sign in to comment.