From 1663d3fb0d6d7613efda49648ce86f8f72e52ff2 Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 20 Dec 2011 15:08:22 -0600 Subject: fixed an error in the BACKLINK_TEXT option in the footnotes extension. I accidentally changed the wrong line (L294 instead of L293) to "self.footnotes.getConfig("BACKLINK_TEXT")" before. This fixes that. --- markdown/extensions/footnotes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markdown/extensions/footnotes.py b/markdown/extensions/footnotes.py index a4c897b..2f3ceac 100644 --- a/markdown/extensions/footnotes.py +++ b/markdown/extensions/footnotes.py @@ -290,8 +290,8 @@ class FootnotePostprocessor(markdown.postprocessors.Postprocessor): self.footnotes = footnotes def run(self, text): - text = text.replace(FN_BACKLINK_TEXT, "↩") - return text.replace(NBSP_PLACEHOLDER, self.footnotes.getConfig("BACKLINK_TEXT")) + text = text.replace(FN_BACKLINK_TEXT, self.footnotes.getConfig("BACKLINK_TEXT")) + return text.replace(NBSP_PLACEHOLDER, " ") def makeExtension(configs=[]): """ Return an instance of the FootnoteExtension """ -- cgit v1.2.3