--- loncom/publisher/lonpublisher.pm 2008/05/12 20:59:22 1.233 +++ loncom/publisher/lonpublisher.pm 2008/05/17 12:08:45 1.235 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Publication Handler # -# $Id: lonpublisher.pm,v 1.233 2008/05/12 20:59:22 www Exp $ +# $Id: lonpublisher.pm,v 1.235 2008/05/17 12:08:45 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -775,7 +775,7 @@ sub fix_ids_and_indices { } if (!$endtag) { if ($token->[4]=~m:/>$:) { $endtag=' /'; }; } $outstring.='<'.$tag.$newparmstring.$endtag.'>'; - if ($lctag eq 'm' || $lctag eq 'script' + if ($lctag eq 'm' || $lctag eq 'script' || $lctag eq 'answer' || $lctag eq 'display' || $lctag eq 'tex') { $outstring.=&get_all_text_unbalanced('/'.$lctag,\@parser); } @@ -1818,7 +1818,7 @@ sub publishdirectory { '
'); $lock=0; } else { - unless ($lock) { $lock=&Apache::lonnet::set_lock('Publishing '.$fn); } + unless ($lock) { $lock=&Apache::lonnet::set_lock(&mt('Publishing [_1]',$fn)); } # actually publish things opendir(DIR,$fn); my @files=sort(readdir(DIR));