Commit b3f533c3 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Escape project's name in cross project label

parent fa639df5
...@@ -65,7 +65,7 @@ module LabelsHelper ...@@ -65,7 +65,7 @@ module LabelsHelper
def render_colored_cross_project_label(label) def render_colored_cross_project_label(label)
label_suffix = label.project.name_with_namespace label_suffix = label.project.name_with_namespace
label_suffix = " <i>in #{label_suffix}</i>" label_suffix = " <i>in #{escape_once(label_suffix)}</i>"
render_colored_label(label, label_suffix) render_colored_label(label, label_suffix)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment