Remove duplicate escaping from branch dropdown

This commit is contained in:
Winnie Hellmann 2018-05-25 16:22:17 +02:00
parent d51d893307
commit c909a392b6
2 changed files with 6 additions and 1 deletions

View file

@ -54,7 +54,7 @@ export default function initCompareAutocomplete(limitTo = null, clickHandler = (
.attr('href', '#')
.addClass(ref === selected ? 'is-active' : '')
.text(ref)
.attr('data-ref', escape(ref));
.attr('data-ref', ref);
return $('<li />').append(link);
}
},

View file

@ -0,0 +1,5 @@
---
title: Fix encoding of branch names on compare and new merge request page
merge_request: 19143
author:
type: fixed