Commit c909a392 authored by Winnie Hellmann's avatar Winnie Hellmann

Remove duplicate escaping from branch dropdown

parent d51d8933
...@@ -54,7 +54,7 @@ export default function initCompareAutocomplete(limitTo = null, clickHandler = ( ...@@ -54,7 +54,7 @@ export default function initCompareAutocomplete(limitTo = null, clickHandler = (
.attr('href', '#') .attr('href', '#')
.addClass(ref === selected ? 'is-active' : '') .addClass(ref === selected ? 'is-active' : '')
.text(ref) .text(ref)
.attr('data-ref', escape(ref)); .attr('data-ref', ref);
return $('<li />').append(link); return $('<li />').append(link);
} }
}, },
......
---
title: Fix encoding of branch names on compare and new merge request page
merge_request: 19143
author:
type: fixed
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