[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sun, 07 Aug 2005 16:53:10 -0000
albertel Sun Aug 7 12:53:10 2005 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
- BUG#3605 (comment #5) jsMath wasn't working in html pages
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.283 loncom/xml/londefdef.pm:1.284
--- loncom/xml/londefdef.pm:1.283 Tue Aug 2 11:22:56 2005
+++ loncom/xml/londefdef.pm Sun Aug 7 12:53:07 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.283 2005/08/02 15:22:56 albertel Exp $
+# $Id: londefdef.pm,v 1.284 2005/08/07 16:53:07 albertel Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -540,6 +540,10 @@
$currentstring.=' '.$_.'="'.$token->[2]->{$_}.'"';
}
$currentstring.='>';
+ &Apache::lontexconvert::jsMath_reset();
+ if ($env{'environment.texengine'} eq 'jsMath') {
+ $currentstring.=&Apache::lontexconvert::jsMath_header();
+ }
if ($env{'request.state'} ne 'published') {
if ($env{'environment.remote'} eq 'off') {
$currentstring.=