diff options
author | Waylan Limberg <waylan@gmail.com> | 2013-05-19 16:19:53 -0300 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2013-05-19 16:19:53 -0300 |
commit | f37e3b99e41ceec54684c67538665d19687478c3 (patch) | |
tree | 3305a8a42299e66dae42eb388edd0e69299d165b | |
parent | 49cc78a98050ee07909b57cfd4c8135276c7cecc (diff) | |
download | markdown-f37e3b99e41ceec54684c67538665d19687478c3.tar.gz markdown-f37e3b99e41ceec54684c67538665d19687478c3.tar.bz2 markdown-f37e3b99e41ceec54684c67538665d19687478c3.zip |
Fixed #216. WikiLink Extension actually accepts configs.
-rw-r--r-- | markdown/extensions/wikilinks.py | 4 |
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): |