mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-07-12 09:23 pm

[dw-nonfree] Transmogrified generates navstrip outside of body tag

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/e46aeffd1df4]

http://bugs.dwscoalition.org/show_bug.cgi?id=1314

Fix ordering of HTML to be valid in Transmogrified.

Patch by [personal profile] afuna.

Files modified:
  • bin/upgrading/s2layers/transmogrified/layout.s2
--------------------------------------------------------------------------------
diff -r 9673b7b820cd -r e46aeffd1df4 bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2	Sun Jul 12 21:21:35 2009 +0000
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2	Sun Jul 12 21:23:23 2009 +0000
@@ -236,8 +236,8 @@ function Page::print()
         $this->print_stylesheets();
         $this->print_head_title();    
     println "</head>";
+    $this->print_wrapper_start();
     $this->print_control_strip();
-    $this->print_wrapper_start();
     """
             <div id="container">
             <div id="header">
--------------------------------------------------------------------------------