changeset 5390:cb4eff3da604

Page.py: fixed adding of page contents (only page data added now, without metadata) see MoinMoin:MoinMoinBugs/DeprecatedPageInclusionErrornousPageInstructionsProcessing for details.
author Eugene Syromyatnikov <evgsyr@gmail.com>
date Mon, 21 Dec 2009 03:16:42 +0300
parents 581cdc260b90
children 587747855ee0
files MoinMoin/Page.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/Page.py	Wed Dec 16 09:20:02 2009 +0100
+++ b/MoinMoin/Page.py	Mon Dec 21 03:16:42 2009 +0300
@@ -1070,7 +1070,7 @@
             revisions = self.getRevList()
             if len(revisions) >= 2: # XXX shouldn't that be ever the case!? Looks like not.
                 oldpage = Page(request, self.page_name, rev=revisions[1])
-                body += oldpage.get_raw_body()
+                body += oldpage.get_data()
                 del oldpage
 
         lang = self.pi.get('language', request.cfg.language_default)