From 68bb13a36fe68c9d1ecdcf21c4dc8d92e7b962d8 Mon Sep 17 00:00:00 2001 From: David Wolever Date: Tue, 26 Feb 2008 17:52:12 +0000 Subject: mdx_footnotes.makeExtension() was crashing because the default value of configs was None instead of []. --- mdx_footnotes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdx_footnotes.py') 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) -- cgit v1.2.3