allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [2/2] git commit: [#6140] Minor tweak to source-style trac links
Date Thu, 07 Nov 2013 22:52:10 GMT
[#6140] Minor tweak to source-style trac links

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/38d7d8d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/38d7d8d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/38d7d8d4

Branch: refs/heads/master
Commit: 38d7d8d45e7b220468ec408a75c7b42c8c5eb8b9
Parents: 2b9a7bc
Author: Cory Johns <cjohns@slashdotmedia.com>
Authored: Thu Nov 7 22:50:59 2013 +0000
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Thu Nov 7 22:50:59 2013 +0000

----------------------------------------------------------------------
 Allura/allura/lib/markdown_extensions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/38d7d8d4/Allura/allura/lib/markdown_extensions.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/markdown_extensions.py b/Allura/allura/lib/markdown_extensions.py
index 5ec11e8..8a959b9 100644
--- a/Allura/allura/lib/markdown_extensions.py
+++ b/Allura/allura/lib/markdown_extensions.py
@@ -185,7 +185,7 @@ class TracRef3(Pattern):
 
     """
     pattern = re.compile(
-            Pattern.BEGIN + r'((source:)([^@#]+)(@(\d+))?(#L(\d+))?)' + Pattern.END)
+            Pattern.BEGIN + r'((source:)([^@#\s]+)(@(\w+))?(#L(\d+))?)' + Pattern.END)
 
     def __init__(self, app):
         super(Pattern, self).__init__()


Mime
View raw message