changeset 3728:bba0d3392918

fix MyPages action
author Johannes Berg <johannes AT sipsolutions DOT net>
date Sat, 21 Jun 2008 12:59:17 +0200
parents fd63e84632df
children 4204677846cb
files MoinMoin/action/MyPages.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/MyPages.py	Fri Jun 20 22:00:21 2008 +0200
+++ b/MoinMoin/action/MyPages.py	Sat Jun 21 12:59:17 2008 +0200
@@ -64,14 +64,14 @@
     request.setContentLanguage(request.lang)
     request.theme.send_title(_('MyPages management'), page=homepage)
 
-    # Start content - IMPORTANT - without content div, there is no direction support!
-    request.write(request.formatter.startContent("content"))
-
     parser = WikiParser(pagecontent, request)
     p = Page(request, "$$$")
     request.formatter.setPage(p)
     parser.format(request.formatter)
 
+    # Start content - IMPORTANT - without content div, there is no direction support!
+    request.write(request.formatter.startContent("content"))
+
     request.write(request.formatter.endContent())
     request.theme.send_footer(homepage.page_name)
     request.theme.send_closing_html()