aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-11-20 20:17:01 -0500
committerWaylan Limberg <waylan@gmail.com>2008-11-20 20:17:01 -0500
commit0199640b5f96ca664579892c131097bee418bfa2 (patch)
tree6e158cbaad9c556f4bcefca837d014e6ebe8a1f7
parent8ed86c4d7f44617c4bd99b6ec8055c6422e882d8 (diff)
downloadmarkdown-0199640b5f96ca664579892c131097bee418bfa2.tar.gz
markdown-0199640b5f96ca664579892c131097bee418bfa2.tar.bz2
markdown-0199640b5f96ca664579892c131097bee418bfa2.zip
Updated wikilinks extension for new refactor.
-rw-r--r--markdown/extensions/wikilinks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/markdown/extensions/wikilinks.py b/markdown/extensions/wikilinks.py
index 0caeb48..147ab62 100644
--- a/markdown/extensions/wikilinks.py
+++ b/markdown/extensions/wikilinks.py
@@ -71,7 +71,7 @@ Dependencies:
import markdown
-class WikiLinkExtension (markdown.Extension) :
+class WikiLinkExtension(markdown.Extension):
def __init__(self, configs):
# set extension defaults
self.config = {
@@ -94,9 +94,9 @@ class WikiLinkExtension (markdown.Extension) :
md.inlinePatterns.add('wikilink', wikilinkPattern, "_end")
-class WikiLinks (markdown.BasePattern) :
+class WikiLinks(markdown.inlinepatterns.Pattern):
def __init__(self, pattern, config):
- markdown.BasePattern.__init__(self, pattern)
+ markdown.inlinepatterns.Pattern.__init__(self, pattern)
self.config = config
def handleMatch(self, m):