diff options
author | David Wolever <wolever@cs.toronto.edu> | 2008-02-26 17:52:12 +0000 |
---|---|---|
committer | David Wolever <wolever@cs.toronto.edu> | 2008-02-26 17:52:12 +0000 |
commit | 68bb13a36fe68c9d1ecdcf21c4dc8d92e7b962d8 (patch) | |
tree | b466e2e2ce0e6adc81a43e230f0256a8fde6ff7f | |
parent | cf27f5f8a412704eb4e5e8d6e091c7e98e39024c (diff) | |
download | markdown-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 [].
-rw-r--r-- | mdx_footnotes.py | 2 |
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, "↩") -def makeExtension(configs=None) : +def makeExtension(configs=[]): return FootnoteExtension(configs=configs) |