--- loncom/xml/lonxml.pm 2002/07/24 21:18:36 1.185
+++ loncom/xml/lonxml.pm 2002/08/07 13:58:38 1.187
@@ -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.187 2002/08/07 13:58:38 matthew 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.'';
@@ -335,7 +333,8 @@ sub registerurl {
my $target = shift;
my $result = '';
if ($target eq 'edit') {
- $result .="\n";
}