Skip to content
Snippets Groups Projects
Commit e89a515c authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Fix unescaped strings in the labels dropdown template

parent 998d4eb6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -32,9 +32,9 @@ class @LabelsSelect
if issueUpdateURL
labelHTMLTemplate = _.template(
'<% _.each(labels, function(label){ %>
<a href="<%- ["",issueURLSplit[1], issueURLSplit[2],""].join("/") %>issues?label_name[]=<%= encodeURIComponent(label.title) %>">
<a href="<%- ["",issueURLSplit[1], issueURLSplit[2],""].join("/") %>issues?label_name[]=<%- encodeURIComponent(label.title) %>">
<span class="label has-tooltip color-label" title="<%- label.description %>" style="background-color: <%- label.color %>; color: <%- label.text_color %>;">
<%= label.title %>
<%- label.title %>
</span>
</a>
<% }); %>'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment