From e77c145d596839b0abe853a068d6bd052a3be5a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Tue, 11 Nov 2014 17:42:19 +0100 Subject: [PATCH] Fixed problem with github references link --- taiga/github_hook/event_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taiga/github_hook/event_hooks.py b/taiga/github_hook/event_hooks.py index 3931c679..b4150da4 100644 --- a/taiga/github_hook/event_hooks.py +++ b/taiga/github_hook/event_hooks.py @@ -98,7 +98,7 @@ class PushEventHook(BaseEventHook): def replace_github_references(project_url, wiki_text): - template = "\g<1>[Github #\g<2>]({}/issues/\g<2>)\g<3>".format(project_url) + template = "\g<1>[Github#\g<2>]({}/issues/\g<2>)\g<3>".format(project_url) return re.sub(r"(\s|^)#(\d+)(\s|$)", template, wiki_text, 0, re.M)