[LON-CAPA-cvs] cvs: loncom(version_1_1_X) /homework optionresponse.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 19 Feb 2004 19:20:25 -0000
albertel Thu Feb 19 14:20:25 2004 EDT
Modified files: (Branch: version_1_1_X)
/loncom/homework optionresponse.pm
Log:
- backport < > in option list in exam mode print fix from 1.101
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.96.2.1 loncom/homework/optionresponse.pm:1.96.2.2
--- loncom/homework/optionresponse.pm:1.96.2.1 Thu Feb 19 14:19:15 2004
+++ loncom/homework/optionresponse.pm Thu Feb 19 14:20:25 2004
@@ -1,7 +1,7 @@
# LearningOnline Network with CAPA
# option list style responses
#
-# $Id: optionresponse.pm,v 1.96.2.1 2004/02/19 19:19:15 albertel Exp $
+# $Id: optionresponse.pm,v 1.96.2.2 2004/02/19 19:20:25 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -494,6 +494,7 @@
}
for (my $ind=0;$ind<=$number_of_bubbles;$ind++) {
my $leftmargin;
+ $opt[$ind]=&Apache::lonxml::latex_special_symbols($opt[$ind]);
if ($ind==0) {$leftmargin=6;} else {$leftmargin=10;}
$current_length += (length($opt[$ind])+length($alphabet[$ind])+3)*2;
if ($current_length<($textwidth-$leftmargin) and $ind!=$number_of_bubbles) {