From e89a515ce953a6805d512e005cef4034b337c182 Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Wed, 6 Jul 2016 04:40:02 -0300 Subject: [PATCH] Fix unescaped strings in the labels dropdown template --- app/assets/javascripts/labels_select.js.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/labels_select.js.coffee b/app/assets/javascripts/labels_select.js.coffee index 3b826a6af97..7688609b301 100644 --- a/app/assets/javascripts/labels_select.js.coffee +++ b/app/assets/javascripts/labels_select.js.coffee @@ -32,9 +32,9 @@ class @LabelsSelect if issueUpdateURL labelHTMLTemplate = _.template( '<% _.each(labels, function(label){ %> - issues?label_name[]=<%= encodeURIComponent(label.title) %>"> + issues?label_name[]=<%- encodeURIComponent(label.title) %>"> - <%= label.title %> + <%- label.title %> <% }); %>'