--- loncom/interface/lonsimplepage.pm 2008/01/18 16:41:27 1.53
+++ loncom/interface/lonsimplepage.pm 2008/01/28 10:32:47 1.54
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Simple Page Editor
#
-# $Id: lonsimplepage.pm,v 1.53 2008/01/18 16:41:27 raeburn Exp $
+# $Id: lonsimplepage.pm,v 1.54 2008/01/28 10:32:47 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -299,7 +299,11 @@ sub handler {
if ($allowed) {
$message=&Apache::lonspeller::markeduptext($message);
}
- $message=&Apache::lontexconvert::msgtexconverted($message);
+ &Apache::lonnet::logthis("Prior to texconvert: '$message'");
+ if ($target ne 'tex') {
+ $message=&Apache::lontexconvert::msgtexconverted($message);
+ }
+ &Apache::lonnet::logthis("After texconvert: '$message'");
if ($field eq 'abb_links' && $group ne '') {
$r->print('
');
@@ -327,8 +331,10 @@ sub handler {
} else {
if (($field ne 'bbb_content') || ($allowed)) {
if ($target ne 'tex') {
+ &Apache::lonnet::logthis("contents in web presentation '$syllabusfields{$field}'");
$r->print('