Show More
@@ -189,7 +189,7 b'' | |||
|
189 | 189 | ${val} |
|
190 | 190 | %endif |
|
191 | 191 | %if show_items: |
|
192 | <div class="collapsable-content" data-toggle="item-${h.md5_safe(val)[:6]}-details" style="display: none"> | |
|
192 | <div class="collapsable-content" data-toggle="item-${h.md5_safe(h.safe_str(val))[:6]}-details" style="display: none"> | |
|
193 | 193 | % for item in show_items: |
|
194 | 194 | <dt></dt> |
|
195 | 195 | <dd>${item}</dd> |
@@ -199,7 +199,7 b'' | |||
|
199 | 199 | </td> |
|
200 | 200 | <td style="vertical-align: top"> |
|
201 | 201 | %if show_items: |
|
202 | <span class="btn-collapse" data-toggle="item-${h.md5_safe(val)[:6]}-details">${_('Show More')} </span> | |
|
202 | <span class="btn-collapse" data-toggle="item-${h.md5_safe(h.safe_str(val))[:6]}-details">${_('Show More')} </span> | |
|
203 | 203 | %endif |
|
204 | 204 | </td> |
|
205 | 205 | </tr> |
@@ -59,7 +59,7 b" return '%s_%s_%i' % (h.md5_safe(commit+f" | |||
|
59 | 59 | )"> |
|
60 | 60 | |
|
61 | 61 | <% |
|
62 | diffset_container_id = h.md5(diffset.target_ref) | |
|
62 | diffset_container_id = h.md5_safe(diffset.target_ref) | |
|
63 | 63 | collapse_all = len(diffset.files) > collapse_when_files_over |
|
64 | 64 | active_pattern_entries = h.get_active_pattern_entries(getattr(c, 'repo_name', None)) |
|
65 | 65 | from rhodecode.lib.diffs import NEW_FILENODE, DEL_FILENODE, \ |
@@ -909,7 +909,7 b' def get_comments_for(diff_type, comments' | |||
|
909 | 909 | </%def> |
|
910 | 910 | |
|
911 | 911 | <%def name="render_diffset_menu(diffset, range_diff_on=None, commit=None, pull_request_menu=None)"> |
|
912 | <% diffset_container_id = h.md5(diffset.target_ref) %> | |
|
912 | <% diffset_container_id = h.md5_safe(diffset.target_ref) %> | |
|
913 | 913 | |
|
914 | 914 | <div id="diff-file-sticky" class="diffset-menu clearinner"> |
|
915 | 915 | ## auto adjustable |
General Comments 0
You need to be logged in to leave comments.
Login now