From 90d84bbc17ac333184691b48a9b4941ed7529a87 Mon Sep 17 00:00:00 2001 From: jordan Date: Sun, 27 Mar 2011 22:38:38 +0000 Subject: [PATCH] #OSQA-602, the markdown syntax ** now doesn't interfer with the urlize extension. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@909 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/markdownext/mdx_urlize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/markdownext/mdx_urlize.py b/forum/markdownext/mdx_urlize.py index 94fa516..b323531 100644 --- a/forum/markdownext/mdx_urlize.py +++ b/forum/markdownext/mdx_urlize.py @@ -5,7 +5,7 @@ URLIZE_RE = '(%s)' % '|'.join([ r'<(?:f|ht)tps?://[^>]*>', r'\b(?:f|ht)tps?://[^)<>\s]+[^.,)<>\s]', r'\bwww\.[^)<>\s]+[^.,)<>\s]', - r'[^(<\s]+\.(?:com|net|org)\b', + r'[^*(<\s]+\.(?:com|net|org)\b', ]) class UrlizePattern(markdown.inlinepatterns.Pattern): -- 2.39.5