format_changelog: treat "issue NNNN" as a track ticket

This commit is contained in:
Nick Mathewson 2019-01-18 10:15:02 -05:00
parent 67f275f8da
commit aaef95ada5

View File

@ -401,7 +401,7 @@ class ChangeLog(object):
self.dumpEndOfChangelog()
# Let's turn bugs to html.
BUG_PAT = re.compile('(bug|ticket|feature)\s+(\d{4,5})', re.I)
BUG_PAT = re.compile('(bug|ticket|issue|feature)\s+(\d{4,5})', re.I)
def bug_html(m):
return "%s <a href='https://bugs.torproject.org/%s'>%s</a>" % (m.group(1), m.group(2), m.group(2))