From: Mike G. v. a. <act...@de...> - 2005-01-15 19:02:42
|
Log Message: ----------- Commented out escapeHTML() of warning messages since it prevented using tables when outputing info about answer evaluators. Can someone tell me whether there is another reason why not allowing HTML in warning messages is or would be important? If so we can figure out another way to debug answer evaluators. -- Mike Modified Files: -------------- webwork-modperl/lib/WeBWorK: ContentGenerator.pm Revision Data ------------- Index: ContentGenerator.pm =================================================================== RCS file: /webwork/cvs/system/webwork-modperl/lib/WeBWorK/ContentGenerator.pm,v retrieving revision 1.128 retrieving revision 1.129 diff -Llib/WeBWorK/ContentGenerator.pm -Llib/WeBWorK/ContentGenerator.pm -u -r1.128 -r1.129 --- lib/WeBWorK/ContentGenerator.pm +++ lib/WeBWorK/ContentGenerator.pm @@ -1607,7 +1607,7 @@ my @warnings = split m/\n+/, $warnings; foreach my $warning (@warnings) { - $warning = escapeHTML($warning); + #$warning = escapeHTML($warning); # this would prevent using tables in output from answer evaluators $warning = CGI::li(CGI::code($warning)); } $warnings = join("", @warnings); |