--- loncom/homework/response.pm 2024/06/19 05:56:22 1.249 +++ loncom/homework/response.pm 2024/10/29 03:22:10 1.250 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # various response type definitons response definition # -# $Id: response.pm,v 1.249 2024/06/19 05:56:22 raeburn Exp $ +# $Id: response.pm,v 1.250 2024/10/29 03:22:10 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -885,7 +885,7 @@ sub answer_part { 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;