[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /homework response.pm
raeburn
raeburn at source.lon-capa.org
Mon Oct 28 23:29:30 EDT 2024
raeburn Tue Oct 29 03:29:30 2024 EDT
Modified files: (Branch: version_2_11_X)
/loncom/homework response.pm
Log:
- For 2.11
Backport 1.25
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.244.2.4 loncom/homework/response.pm:1.244.2.5
--- loncom/homework/response.pm:1.244.2.4 Tue Jul 2 00:40:42 2024
+++ loncom/homework/response.pm Tue Oct 29 03:29:30 2024
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# various response type definitons response definition
#
-# $Id: response.pm,v 1.244.2.4 2024/07/02 00:40:42 raeburn Exp $
+# $Id: response.pm,v 1.244.2.5 2024/10/29 03:29:30 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -880,7 +880,7 @@
if ($env{'form.answer_output_mode'} eq 'tex') {
if (!$args->{'no_verbatim'}) {
my $to_use='|';
- foreach my $value (32..126) {
+ foreach my $value (33..41,43..126) {
my $char=pack('c',$value);
if ($answer !~ /\Q$char\E/) {
$to_use=$char;
More information about the LON-CAPA-cvs
mailing list