diff options
author | tim <tdixon51793@gmail.com> | 2011-12-20 15:08:22 -0600 |
---|---|---|
committer | tim <tdixon51793@gmail.com> | 2011-12-20 15:11:29 -0600 |
commit | 1663d3fb0d6d7613efda49648ce86f8f72e52ff2 (patch) | |
tree | 0a9c04474b02b779818e30d74f3c66b7023c7bab | |
parent | 7393f58c14d8dad6194c4845d545a3d7f7ccbf2e (diff) | |
download | markdown-1663d3fb0d6d7613efda49648ce86f8f72e52ff2.tar.gz markdown-1663d3fb0d6d7613efda49648ce86f8f72e52ff2.tar.bz2 markdown-1663d3fb0d6d7613efda49648ce86f8f72e52ff2.zip |
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.
-rw-r--r-- | markdown/extensions/footnotes.py | 4 |
1 files 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 """ |