Diff for /loncom/xml/londefdef.pm between versions 1.225 and 1.226

version 1.225, 2004/07/12 16:11:30 version 1.226, 2004/07/12 17:19:13
Line 1133  sub end_p { Line 1133  sub end_p {
     if ($target eq 'web') {      if ($target eq 'web') {
  $currentstring .= $token->[2];   $currentstring .= $token->[2];
     } elsif ($target eq 'tex') {      } elsif ($target eq 'tex') {
  if ($$tagstack[-1] eq 'p') {   my $align=&Apache::lonxml::get_param('align',$parstack,$safeeval,undef,1);
     my $align=&Apache::lonxml::get_param('align',$parstack,$safeeval,undef,1);   if ($align eq 'center') {
     if ($align eq 'center') {      $currentstring .= '\end{center}';
  $currentstring .= '\end{center}';   } elsif ($align eq 'right') {
     } elsif ($align eq 'right') {      $currentstring .= '}}';
  $currentstring .= '}}';   } elsif ($align eq 'left') {
     } elsif ($align eq 'left') {      $currentstring .= '}\hfill}';
  $currentstring .= '}\hfill}';  
     }  
  }   }
     }      }
     return $currentstring;      return $currentstring;

Removed from v.1.225  
changed lines
  Added in v.1.226


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>