diff options
author | Waylan Limberg <waylan@gmail.com> | 2013-06-16 21:30:51 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2013-06-16 21:30:51 -0400 |
commit | ccc9c3ec580cb93aeed81b8320746c164a7acdb5 (patch) | |
tree | 3b620d94fd2ccaffcf9e196f81b50360c1fb9362 | |
parent | c908b0463b17919c935944e49e282fec16ca5bf0 (diff) | |
download | markdown-ccc9c3ec580cb93aeed81b8320746c164a7acdb5.tar.gz markdown-ccc9c3ec580cb93aeed81b8320746c164a7acdb5.tar.bz2 markdown-ccc9c3ec580cb93aeed81b8320746c164a7acdb5.zip |
Fixed wikilinks extension's handling of config setting. Not sure how I didn't notice the tests were failing for this before.
-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 95663ee..ba1947c 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 {} + configs = dict(configs) or {} # Override defaults with user settings - for key, value in configs.items : + for key, value in configs.items(): self.setConfig(key, value) def extendMarkdown(self, md, md_globals): |