Fix unescaped strings in the labels dropdown template
This commit is contained in:
parent
998d4eb61f
commit
e89a515ce9
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue