Escape project's name in cross project label
This commit is contained in:
parent
fa639df5c7
commit
b3f533c3a7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue