Show More
@@ -760,9 +760,13 b' def urlify_commit(text_, repository=None' | |||||
760 | ISSUE_PREFIX = conf.get('issue_prefix') |
|
760 | ISSUE_PREFIX = conf.get('issue_prefix') | |
761 |
|
761 | |||
762 | def url_func(match_obj): |
|
762 | def url_func(match_obj): | |
|
763 | pref = '' | |||
|
764 | if match_obj.group().startswith(' '): | |||
|
765 | pref = ' ' | |||
|
766 | ||||
763 | issue_id = match_obj.groups()[0] |
|
767 | issue_id = match_obj.groups()[0] | |
764 | tmpl = ( |
|
768 | tmpl = ( | |
765 |
' |
|
769 | '%(pref)s<a class="%(cls)s" href="%(url)s">' | |
766 | '%(issue-prefix)s%(id-repr)s' |
|
770 | '%(issue-prefix)s%(id-repr)s' | |
767 | '</a>' |
|
771 | '</a>' | |
768 | ) |
|
772 | ) | |
@@ -775,6 +779,7 b' def urlify_commit(text_, repository=None' | |||||
775 |
|
779 | |||
776 | return tmpl % ( |
|
780 | return tmpl % ( | |
777 | { |
|
781 | { | |
|
782 | 'pref': pref, | |||
778 | 'cls': 'issue-tracker-link', |
|
783 | 'cls': 'issue-tracker-link', | |
779 | 'url': url, |
|
784 | 'url': url, | |
780 | 'id-repr': issue_id, |
|
785 | 'id-repr': issue_id, |
General Comments 0
You need to be logged in to leave comments.
Login now