--- loncom/xml/lonxml.pm 2004/10/21 02:43:34 1.346 +++ loncom/xml/lonxml.pm 2004/11/29 22:45:51 1.347 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.346 2004/10/21 02:43:34 albertel Exp $ +# $Id: lonxml.pm,v 1.347 2004/11/29 22:45:51 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1157,7 +1157,10 @@ sub inserteditinfo { if ($filetype eq 'html') { my $addbuttons=&Apache::lonhtmlcommon::htmlareaaddbuttons(); $initialize=&Apache::lonhtmlcommon::htmlareaheaders(). - &Apache::lonhtmlcommon::spellheader().(< $addbuttons @@ -1170,6 +1173,15 @@ $addbuttons } FULLPAGE + } else { + $initialize.=(< +$addbuttons + function initDocument() { + } + +FULLPAGE + } $result=~s/\]*)\>/\/i; $xml_help=&Apache::loncommon::helpLatexCheatsheet(); }