[LON-CAPA-cvs] cvs: loncom /homework imageresponse.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 02 Jul 2004 08:11:10 -0000


albertel		Fri Jul  2 04:11:10 2004 EDT

  Modified files:              
    /loncom/homework	imageresponse.pm 
  Log:
  - BUG#3138, <rectangle>s worked poorly if whitespace appread in the tag
  
  
Index: loncom/homework/imageresponse.pm
diff -u loncom/homework/imageresponse.pm:1.53 loncom/homework/imageresponse.pm:1.54
--- loncom/homework/imageresponse.pm:1.53	Thu May 27 00:32:19 2004
+++ loncom/homework/imageresponse.pm	Fri Jul  2 04:11:10 2004
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # image click response style
 #
-# $Id: imageresponse.pm,v 1.53 2004/05/27 04:32:19 albertel Exp $
+# $Id: imageresponse.pm,v 1.54 2004/07/02 08:11:10 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -552,6 +552,7 @@
 	$target eq 'analyze') {
 	my $name = $Apache::imageresponse::curname;
 	my $area = &Apache::lonxml::endredirection;
+	$area=~s/\s//g;
 	&Apache::lonxml::debug("out is $area for $name");
 	if ( $Apache::imageresponse::conceptgroup
 	     && !&Apache::response::showallfoils()) {