--- loncom/homework/externalresponse.pm 2014/01/13 13:20:33 1.25 +++ loncom/homework/externalresponse.pm 2014/01/13 15:29:10 1.26 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # external style responses # -# $Id: externalresponse.pm,v 1.25 2014/01/13 13:20:33 kruse Exp $ +# $Id: externalresponse.pm,v 1.26 2014/01/13 15:29:10 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -324,7 +324,8 @@ sub end_externalresponse { 'uploadedurl']); if (&Apache::response::show_answer()) { $result.='
'.&mt('Your answer:').' |
---|
'. - $Apache::lonhomework::history{"resource.$part.$id.submission"}. + &HTML::Entities::encode( + $Apache::lonhomework::history{"resource.$part.$id.submission"},'"<>&'). ' |