diff options
-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") |