diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2015-06-21 21:21:49 -0400 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2015-06-21 21:21:49 -0400 |
commit | 3c69b0fb1d86f68a337bf3bd9b4a86b30a5fe6bf (patch) | |
tree | 6972f33b04d940e77486818e6676755550817107 /markdown/extensions/footnotes.py | |
parent | de76d24283aa62a81e2c4529c4d90fb388ddd26d (diff) | |
download | python-markdown-inline.tar.gz |
Fixed many failing tests in inline refactor. Still a ways to go.inline
Diffstat (limited to 'markdown/extensions/footnotes.py')
-rw-r--r-- | markdown/extensions/footnotes.py | 2 |
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") |