[LON-CAPA-cvs] cvs: loncom /homework response.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Wed, 20 Aug 2003 14:05:40 -0000
sakharuk Wed Aug 20 10:05:40 2003 EDT
Modified files:
/loncom/homework response.pm
Log:
Bug 2061 is fixed. The content of the bug - Printing with Answers Before Publishing Broken.
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.83 loncom/homework/response.pm:1.84
--- loncom/homework/response.pm:1.83 Mon Aug 11 15:56:45 2003
+++ loncom/homework/response.pm Wed Aug 20 10:05:40 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# various response type definitons response definition
#
-# $Id: response.pm,v 1.83 2003/08/11 19:56:45 albertel Exp $
+# $Id: response.pm,v 1.84 2003/08/20 14:05:40 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -412,8 +412,8 @@
my ($type) = @_;
my $result;
if ($ENV{'form.answer_output_mode'} eq 'tex') {
- $result = ' \vskip 0 mm \begin{tabular}{|c|}\hline Answer for Part: '.
- $Apache::inputtags::part.' \\\\ \hline ';
+ $result = ' \vskip 0 mm \begin{tabular}{|c|}\hline Answer for Part: \verb|'.
+ $Apache::inputtags::part.'| \\\\ \hline ';
} else {
$result = '<table border="1"><tr><td>Answer for Part:'.
$Apache::inputtags::part. '</td>'."\n";