[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sat, 15 Nov 2003 12:46:41 -0000
albertel Sat Nov 15 07:46:41 2003 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
- BUG#2383, make <m> tag work in analyze mode
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.190 loncom/xml/londefdef.pm:1.191
--- loncom/xml/londefdef.pm:1.190 Sat Nov 8 20:19:47 2003
+++ loncom/xml/londefdef.pm Sat Nov 15 07:46:41 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.190 2003/11/09 01:19:47 albertel Exp $
+# $Id: londefdef.pm,v 1.191 2003/11/15 12:46:41 albertel Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -86,7 +86,7 @@
my $currentstring = '';
my $inside = &Apache::lonxml::get_all_text("/m",$parser,$style);
$inside=~s-<LONCAPA_INTERNAL_TURN_STYLE_ON />--g;
- if ($target eq 'web') {
+ if ($target eq 'web' || $target eq 'analyze') {
$Apache::lonxml::prevent_entity_encode++;
$inside ='\\documentstyle{article}'.$inside;
&Apache::lonxml::debug("M is starting with:$inside:");