--- loncom/homework/functionplotresponse.pm 2011/10/14 00:40:24 1.66 +++ loncom/homework/functionplotresponse.pm 2011/10/19 00:20:28 1.67 @@ -1,7 +1,7 @@ # LearningOnline Network with CAPA # option list style responses # -# $Id: functionplotresponse.pm,v 1.66 2011/10/14 00:40:24 www Exp $ +# $Id: functionplotresponse.pm,v 1.67 2011/10/19 00:20:28 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -973,6 +973,7 @@ sub compare_rel { sub addlog { my ($text)=@_; + $text=~s/\'/\\\'/g; $Apache::functionplotresponse::ruleslog.=$text.'
'; }