--- loncom/xml/lonxml.pm 2002/07/24 20:25:23 1.184
+++ loncom/xml/lonxml.pm 2002/07/24 21:18:36 1.185
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.184 2002/07/24 20:25:23 www Exp $
+# $Id: lonxml.pm,v 1.185 2002/07/24 21:18:36 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -176,6 +176,9 @@ sub xmlend {
unless (($hidden) && (!$seeid)) {
my $message=$contrib{$idx.':message'};
$message=~s/\n/\
/g;
+ if (($message=~/\$.+\$/) || ($message=~/\\\[.+\\\]/)) {
+ $message=&Apache::lontexconvert::converted(\$message);
+ }
if ($message) {
if ($hidden) {
$message=''.$message.'';