diff --git a/rhodecode/templates/base/base.mako b/rhodecode/templates/base/base.mako
--- a/rhodecode/templates/base/base.mako
+++ b/rhodecode/templates/base/base.mako
@@ -189,7 +189,7 @@
${val}
%endif
%if show_items:
-
+
% for item in show_items:
${item}
@@ -199,7 +199,7 @@
%if show_items:
- ${_('Show More')}
+ ${_('Show More')}
%endif
|
diff --git a/rhodecode/templates/codeblocks/diffs.mako b/rhodecode/templates/codeblocks/diffs.mako
--- a/rhodecode/templates/codeblocks/diffs.mako
+++ b/rhodecode/templates/codeblocks/diffs.mako
@@ -59,7 +59,7 @@ return '%s_%s_%i' % (h.md5_safe(commit+f
)">
<%
- diffset_container_id = h.md5(diffset.target_ref)
+ diffset_container_id = h.md5_safe(diffset.target_ref)
collapse_all = len(diffset.files) > collapse_when_files_over
active_pattern_entries = h.get_active_pattern_entries(getattr(c, 'repo_name', None))
from rhodecode.lib.diffs import NEW_FILENODE, DEL_FILENODE, \
@@ -909,7 +909,7 @@ def get_comments_for(diff_type, comments
%def>
<%def name="render_diffset_menu(diffset, range_diff_on=None, commit=None, pull_request_menu=None)">
- <% diffset_container_id = h.md5(diffset.target_ref) %>
+ <% diffset_container_id = h.md5_safe(diffset.target_ref) %>