diff --git a/templatetags/ticket_to_link.py b/templatetags/ticket_to_link.py index 84573cb6..cf5dfa57 100644 --- a/templatetags/ticket_to_link.py +++ b/templatetags/ticket_to_link.py @@ -37,7 +37,7 @@ def num_to_link(text): return text matches = [] - for match in re.finditer("#(\d+)", text): + for match in re.finditer(" #(\d+)", text): matches.append(match) for match in ReverseProxy(matches):