Skip to content

Commit

Permalink
Fixed wikilinks extension's handling of config setting. Not sure how …
Browse files Browse the repository at this point in the history
…I didn't notice the tests were failing for this before.
  • Loading branch information
Waylan Limberg committed Jun 17, 2013
1 parent c908b04 commit ccc9c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions markdown/extensions/wikilinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ def __init__(self, configs):
'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):
Expand Down

0 comments on commit ccc9c3e

Please sign in to comment.