Skip to content

Instantly share code, notes, and snippets.

@scottwalters
Created October 27, 2011 18:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save scottwalters/1320326 to your computer and use it in GitHub Desktop.
diff --git a/lib/WebGUI/Asset/Template.pm b/lib/WebGUI/Asset/Template.pm
index 170c8af..368726a 100644
--- a/lib/WebGUI/Asset/Template.pm
+++ b/lib/WebGUI/Asset/Template.pm
@@ -622,7 +622,9 @@ sub process {
my $i18n = WebGUI::International->new($session, 'Asset_Template');
$output = sprintf $i18n->get('template error').$e->error, $self->getUrl, $self->getId;
}
- return $output;
+ # return $output;
+ my $id = $self->getId;
+ return "<!-- START $id -->$output<!-- END $id -->"; # XXX
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment