mason/autohandler, mason/sheet: Don't wrap HTML around dealing sheet.
[bridge-toys] / mason / autohandler
index 4673c61..85058e5 100644 (file)
@@ -1,3 +1,9 @@
+%# -*-html-*-
+<&| SELF:wrapper &>\
+% $m->call_next;
+</&>\
+%#
+<%method wrapper>
 <!-- -*-html-*-
   -
   - Dealing sheet common HTML header
@@ -17,7 +23,7 @@
 </head>
 <body>
 
-% $m->call_next;
+<% $m->content %>
 
 <div class=footer>
 Written by Mark Wooding.<br>
@@ -25,6 +31,7 @@ Part of a small <a href="/~mdw/deal/">collection of bridge tools</a>.
 </div>
 </body>
 </html>
+</%method>
 %#
 <%method title>(Untitled page)</%method>
 <%method header></%method>