From cce031f09e4c4971d209eeee72f725dde8a57df5 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Mon, 5 May 2003 21:31:19 +0000 Subject: [PATCH] Added a div with a class of "wobject" around all wobjects. --- lib/WebGUI.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI.pm b/lib/WebGUI.pm index 4be32fbf3..4eae64d0e 100644 --- a/lib/WebGUI.pm +++ b/lib/WebGUI.pm @@ -92,13 +92,13 @@ sub _generatePage { $w = eval{$cmd->new($wobject)}; WebGUI::ErrorHandler::fatalError("Couldn't instanciate wobject: ${$wobject}{namespace}. Root cause: ".$@) if($@); if ($w->inDateRange) { - $contentHash{"page.position".${$wobject}{templatePosition}} .= '
'; $contentHash{"page.position".${$wobject}{templatePosition}} .= ''; $contentHash{"page.position".${$wobject}{templatePosition}} .= eval{$w->www_view}; WebGUI::ErrorHandler::fatalError("Wobject runtime error: ${$wobject}{namespace}. Root cause: ".$@) if($@); - $contentHash{"page.position".${$wobject}{templatePosition}} .= "
\n\n"; + $contentHash{"page.position".${$wobject}{templatePosition}} .= "\n\n"; } } $sth->finish;