aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2013-06-16 21:30:51 -0400
committerWaylan Limberg <waylan@gmail.com>2013-06-16 21:30:51 -0400
commitccc9c3ec580cb93aeed81b8320746c164a7acdb5 (patch)
tree3b620d94fd2ccaffcf9e196f81b50360c1fb9362
parentc908b0463b17919c935944e49e282fec16ca5bf0 (diff)
downloadmarkdown-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.py4
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):