Commit 37548351 by benjaoming

Merge pull request #314 from jluttine/master

Change empty markdown config to {} instead of None
parents cff1f747 9d411a78
......@@ -97,7 +97,7 @@ class UrlizeExtension(markdown.Extension):
""" Replace autolink with UrlizePattern """
md.inlinePatterns['autolink'] = UrlizePattern(URLIZE_RE, md)
def makeExtension(configs=None):
def makeExtension(configs={}):
return UrlizeExtension(configs=configs)
if __name__ == "__main__":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment