summaryrefslogtreecommitdiff
path: root/markdown/extensions/footnotes.py
diff options
context:
space:
mode:
Diffstat (limited to 'markdown/extensions/footnotes.py')
-rw-r--r--markdown/extensions/footnotes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/extensions/footnotes.py b/markdown/extensions/footnotes.py
index c04ad68..a237ae7 100644
--- a/markdown/extensions/footnotes.py
+++ b/markdown/extensions/footnotes.py
@@ -264,7 +264,7 @@ class FootnotePattern(Pattern):
self.footnotes = footnotes
def handleMatch(self, m):
- id = m.group(2)
+ id = m.group(1)
if id in self.footnotes.footnotes.keys():
sup = etree.Element("sup")
a = etree.SubElement(sup, "a")