[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 12 Jan 2004 15:44:30 -0000


albertel		Mon Jan 12 10:44:30 2004 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - Undoing 1.190, to fix BUG#2562 which reopens BUG#1894
  - sigh
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.192 loncom/xml/londefdef.pm:1.193
--- loncom/xml/londefdef.pm:1.192	Thu Jan  8 14:49:59 2004
+++ loncom/xml/londefdef.pm	Mon Jan 12 10:44:30 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.192 2004/01/08 19:49:59 sakharuk Exp $
+# $Id: londefdef.pm,v 1.193 2004/01/12 15:44:30 albertel Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -84,8 +84,7 @@
 sub start_m {
     my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style) = @_;
     my $currentstring = '';
-    my $inside = &Apache::lonxml::get_all_text("/m",$parser,$style);
-    $inside=~s-<LONCAPA_INTERNAL_TURN_STYLE_ON />--g;
+    my $inside = &Apache::lonxml::get_all_text_unbalanced("/m",$parser);
     if ($target eq 'web' || $target eq 'analyze') {
 	$Apache::lonxml::prevent_entity_encode++;
 	$inside ='\\documentstyle{article}'.$inside;