--- loncom/homework/structuretags.pm 2005/10/17 16:06:32 1.305 +++ loncom/homework/structuretags.pm 2005/10/18 21:46:42 1.306 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.305 2005/10/17 16:06:32 albertel Exp $ +# $Id: structuretags.pm,v 1.306 2005/10/18 21:46:42 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -74,8 +74,7 @@ sub body_tag_start { 'onunload="'.&Apache::lonmenu::unloadevents().'" '; if ($env{'browser.imagesuppress'} eq 'on') { $background=''; } if ($background) { - $Apache::lonxml::extlinks[$#Apache::lonxml::extlinks+1]= - $background; + &Apache::lonxml::extlink($background); $body_tag_start.='background="'.$background.'" '; } else { if (($bgcolor) && ($env{'browser.blackwhite'} ne 'on')) {