--- trunk/webwork-modperl/lib/WeBWorK/ContentGenerator.pm 2002/08/22 22:02:39 505 +++ trunk/webwork-modperl/lib/WeBWorK/ContentGenerator.pm 2002/08/29 19:45:18 525 @@ -89,6 +89,8 @@ my ($self, $templateFile) = (shift, shift); my $r = $self->{r}; my $courseEnvironment = $self->{courseEnvironment}; + my @ifstack = (1); # Start off in printing mode + # say $ifstack[-1] to get the result of the last <#!--if--> # so even though the variable $/ APPEARS to contain a newline, #