X-Git-Url: http://unremediatedgender.space/source?a=blobdiff_plain;f=plugins%2Fsimple_footnotes.py;h=d6e8810ba72a9600cf92a9f346ec760bb3dbe781;hb=3eb6f065d4005a2e7cd42cfa455bcdec23c2ab79;hp=890cb1b87bf58ee05e9601537729a7f9a54b587f;hpb=2980fe3c905fc76f325ccf830abc2f03d8a4ad43;p=Ultimately_Untrue_Thought.git diff --git a/plugins/simple_footnotes.py b/plugins/simple_footnotes.py index 890cb1b..d6e8810 100644 --- a/plugins/simple_footnotes.py +++ b/plugins/simple_footnotes.py @@ -22,7 +22,7 @@ def getText(node, recursive=False): else: if not recursive: return None - L.append(getText(n)) + L.append(getText(n, recursive)) return u''.join(L) @@ -56,7 +56,7 @@ def parse_for_footnotes(article_or_page_generator): if leavealone: continue count += 1 - fnid = u"sf-%s-%s" % (article.slug, count) + fnid = u"note-%s" % (count) fnbackid = u"%s-back" % (fnid,) endnotes.append((footnote, fnid, fnbackid)) number = dom.createElement(u"sup")