From 3e006266e7f816d9f747f0bd9b40ffb7bb6d5a05 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 15 Jul 2014 18:52:10 +0100 Subject: [PATCH] mason/autohandler, mason/sheet: Don't wrap HTML around dealing sheet. Move the HTML into a method, so (a) it's still provided automatically to individual components that want it, but (b) the plain text dealing sheet can turn it off. --- mason/autohandler | 9 ++++++++- mason/sheet | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/mason/autohandler b/mason/autohandler index 4673c61..85058e5 100644 --- a/mason/autohandler +++ b/mason/autohandler @@ -1,3 +1,9 @@ +%# -*-html-*- +<&| SELF:wrapper &>\ +% $m->call_next; +\ +%# +<%method wrapper>