Skip to content
Snippets Groups Projects
Commit be254899 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Escape project's name in cross project label

Former-commit-id: b3f533c3
parent 04984387
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -65,7 +65,7 @@ module LabelsHelper
 
def render_colored_cross_project_label(label)
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)
end
 
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