--- loncom/interface/lonfeedback.pm 2004/06/23 17:42:58 1.95
+++ loncom/interface/lonfeedback.pm 2004/06/28 16:41:08 1.96
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.95 2004/06/23 17:42:58 sakharuk Exp $
+# $Id: lonfeedback.pm,v 1.96 2004/06/28 16:41:08 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -445,7 +445,13 @@ sub list_discussion {
$discussionitems[$alldiscussion{$_}]=~s/<\/td>
]*)>/$threadinsert<\/td> | /;
$discussionitems[$alldiscussion{$_}]=~s/]+)>(Hide|Delete|Reply|Submissions)<\/a>//g;
$discussionitems[$alldiscussion{$_}]=~s/(|<\/b>|<\/a>|]+)>)//g;
- $discussion.=&Apache::lonxml::xmlparse('','tex',$discussionitems[$alldiscussion{$_}]);
+
+ #FIXME xmlparse can't be safely called from inside xmlparse
+ # due to the global variables that are use, the safe
+ # space etc. I expect this has unforseen issues that
+ # need resolving.
+
+ $discussion.=&Apache::lonxml::xmlparse('','tex',$discussionitems[$alldiscussion{$_}]);
}
}
}
|