aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/extensions/wikilinks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown/extensions/wikilinks.py b/markdown/extensions/wikilinks.py
index 877890b..95663ee 100644
--- a/markdown/extensions/wikilinks.py
+++ b/markdown/extensions/wikilinks.py
@@ -98,9 +98,9 @@ class WikiLinkExtension(Extension):
'html_class' : ['wikilink', 'CSS hook. Leave blank for none.'],
'build_url' : [build_url, 'Callable formats URL from label.'],
}
-
+ configs = configs or {}
# Override defaults with user settings
- for key, value in configs :
+ for key, value in configs.items :
self.setConfig(key, value)
def extendMarkdown(self, md, md_globals):