--- loncom/homework/structuretags.pm 2001/12/04 15:17:56 1.74 +++ loncom/homework/structuretags.pm 2002/01/17 12:23:31 1.76 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.74 2001/12/04 15:17:56 albertel Exp $ +# $Id: structuretags.pm,v 1.76 2002/01/17 12:23:31 harris41 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -34,7 +34,7 @@ package Apache::structuretags; use strict; use Apache::lonnet; -sub BEGIN { +BEGIN { &Apache::lonxml::register('Apache::structuretags',('block','while','randomlist','problem','library','web','tex','part','preduedate','postanswerdate','solved','notsolved','startouttext','endouttext')); # &Apache::lonxml::register_insert('problem','',('part','postanswerdate','preduedate')) } @@ -584,8 +584,7 @@ sub end_startouttext { ." ". &Apache::edit::insertlist($target,$token). - " -\n". + &Apache::edit::end_row().&Apache::edit::start_spanning_row()."\n". &Apache::edit::editfield($token->[1],$text,"",50,4); } if ($target eq 'modified') {