Commit 4ec7da18 authored by Fatih Acet's avatar Fatih Acet Committed by Rémy Coutable

Merge branch '21248-wrong-urlencoding-when-switching-branch-in-graphs-contributers' into 'master'

Fix refs dropdown selection with special characters

Remove unneeded encode from the project-refs-dropdown renderRow method.

Closes #21248

See merge request !7061
Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 897696d4
......@@ -82,7 +82,7 @@
if (ref.header != null) {
return $('<li />').addClass('dropdown-header').text(ref.header);
} else {
link = $('<a />').attr('href', '#').addClass(ref === selected ? 'is-active' : '').text(ref).attr('data-ref', escape(ref));
link = $('<a />').attr('href', '#').addClass(ref === selected ? 'is-active' : '').text(ref).attr('data-ref', ref);
return $('<li />').append(link);
}
},
......
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