diff options
author | Waylan Limberg <waylan@gmail.com> | 2010-09-20 15:28:30 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2010-09-20 15:28:30 -0400 |
commit | af98c981e8540809938952ee549baf65bb951116 (patch) | |
tree | 146956d0f459bc9c0a4ad676f86cef42d1e4064e | |
parent | e4993fc56dd222c9b11fc96b1044e39f84e4544f (diff) | |
download | markdown-af98c981e8540809938952ee549baf65bb951116.tar.gz markdown-af98c981e8540809938952ee549baf65bb951116.tar.bz2 markdown-af98c981e8540809938952ee549baf65bb951116.zip |
Fixed Ticket 78. Wikilinks now support unicode characters.
-rw-r--r-- | markdown/extensions/wikilinks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/extensions/wikilinks.py b/markdown/extensions/wikilinks.py index f68e4e5..2b8abde 100644 --- a/markdown/extensions/wikilinks.py +++ b/markdown/extensions/wikilinks.py @@ -105,7 +105,7 @@ class WikiLinkExtension(markdown.Extension): self.md = md # append to end of inline patterns - WIKILINK_RE = r'\[\[([A-Za-z0-9_ -]+)\]\]' + WIKILINK_RE = r'\[\[([\w0-9_ -]+)\]\]' wikilinkPattern = WikiLinks(WIKILINK_RE, self.config) wikilinkPattern.md = md md.inlinePatterns.add('wikilink', wikilinkPattern, "<not_strong") |