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