diff MoinMoin/macro/Include.py @ 335:e574cc401e89

fixed MoinMoinBugs/IncorrectlyPlacedFootnote. All footnotes are now shown at the very bottom. There is a continuing numbering of all footnotes including the ones on included pages imported from: moin--main--1.5--patch-339
author Florian Festi <Florian.Festi@trick.informatik.uni-stuttgart.de>
date Mon, 19 Dec 2005 08:21:45 +0000
parents c1e403174a6d
children bea43f99cc27
line wrap: on
line diff
--- a/MoinMoin/macro/Include.py	Sun Dec 18 20:53:16 2005 +0000
+++ b/MoinMoin/macro/Include.py	Mon Dec 19 08:21:45 2005 +0000
@@ -218,7 +218,8 @@
         request.redirect(strfile)
         try:
             cid = request.makeUniqueID("Include_%s" % wikiutil.quoteWikinameURL(inc_page.page_name))
-            inc_page.send_page(request, content_only=1, content_id=cid)
+            inc_page.send_page(request, content_only=1, content_id=cid,
+                               omit_footnotes=True)
             result.append(strfile.getvalue())
         finally:
             request.redirect()