aboutsummaryrefslogtreecommitdiffstats
path: root/mdx_footnotes.py
diff options
context:
space:
mode:
authorDavid Wolever <wolever@cs.toronto.edu>2008-02-26 17:52:12 +0000
committerDavid Wolever <wolever@cs.toronto.edu>2008-02-26 17:52:12 +0000
commit68bb13a36fe68c9d1ecdcf21c4dc8d92e7b962d8 (patch)
treeb466e2e2ce0e6adc81a43e230f0256a8fde6ff7f /mdx_footnotes.py
parentcf27f5f8a412704eb4e5e8d6e091c7e98e39024c (diff)
downloadmarkdown-68bb13a36fe68c9d1ecdcf21c4dc8d92e7b962d8.tar.gz
markdown-68bb13a36fe68c9d1ecdcf21c4dc8d92e7b962d8.tar.bz2
markdown-68bb13a36fe68c9d1ecdcf21c4dc8d92e7b962d8.zip
mdx_footnotes.makeExtension() was crashing because the default value of configs was None instead of [].
Diffstat (limited to 'mdx_footnotes.py')
-rw-r--r--mdx_footnotes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdx_footnotes.py b/mdx_footnotes.py
index de79ed4..bc8688b 100644
--- a/mdx_footnotes.py
+++ b/mdx_footnotes.py
@@ -252,6 +252,6 @@ class FootnoteTextPostprocessor (markdown.Postprocessor):
def run(self, text) :
return text.replace(FN_BACKLINK_TEXT, "&#8617;")
-def makeExtension(configs=None) :
+def makeExtension(configs=[]):
return FootnoteExtension(configs=configs)