aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2010-08-02 22:26:41 -0400
committerWaylan Limberg <waylan@gmail.com>2010-08-02 22:26:41 -0400
commit7942471746b5ab0ce20182e26a23f4432632e2e5 (patch)
tree086a3ea552e918b7e985b0905c15c810e7d87ba5
parent3edf722ca617291cd4804a10801e2fce385aa13b (diff)
downloadmarkdown-7942471746b5ab0ce20182e26a23f4432632e2e5.tar.gz
markdown-7942471746b5ab0ce20182e26a23f4432632e2e5.tar.bz2
markdown-7942471746b5ab0ce20182e26a23f4432632e2e5.zip
Fix Ticket 68. Remove an old line of code from the footnote extension that should have been removed excatly 2 years and 3 days ago (commit bd185087dc899b6157f8) when elementtree support was added. And to think it has been generating an error the whole time and was only just reported now. It appears this was never tested as it still does not work after removing the old line. At least we do not get an error. The footnote placeholder is just an empty paragraph. Thanks for the report Evan Carmi.
-rw-r--r--markdown/extensions/footnotes.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/markdown/extensions/footnotes.py b/markdown/extensions/footnotes.py
index f9e5101..3c9d23a 100644
--- a/markdown/extensions/footnotes.py
+++ b/markdown/extensions/footnotes.py
@@ -291,7 +291,6 @@ class FootnoteTreeprocessor(markdown.treeprocessors.Treeprocessor):
ind = element.getchildren().find(child)
element.getchildren().insert(ind + 1, footnotesDiv)
child.tail = None
- fnPlaceholder.parent.replaceChild(fnPlaceholder, footnotesDiv)
else:
root.append(footnotesDiv)