diff --git a/pagure/templates/repo_info.html b/pagure/templates/repo_info.html
index c81a3ed..09a23b1 100644
--- a/pagure/templates/repo_info.html
+++ b/pagure/templates/repo_info.html
@@ -130,7 +130,9 @@ git push -u origin master
{% if g.repo_committer and branch != head and config.get('ALLOW_DELETE_BRANCH', True) %}
-
@@ -334,8 +339,8 @@ $(function() {
commit not in the main branch. Click to create new PR now.'+'"> New PR \
';
{%endif%}
- $('#branch-' + branch.replace('.', '\\.').replace('/', '__')
- + ' .branch_del').prepend(html2);
+ var _b = branch.replace('.', '\\.').replace('/', '__').replace('\+', '\\+');
+ $('#branch-' + _b + ' .branch_del').prepend(html2);
$('[data-toggle="tooltip"]').tooltip({placement : 'bottom'});
}
for (branch in res.message.branch_w_pr){