[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 26 Feb 2003 20:22:11 -0000
albertel Wed Feb 26 15:22:11 2003 EDT
Modified files:
/loncom/xml lontexconvert.pm
Log:
- tth doesn't appreciate > and <
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.17 loncom/xml/lontexconvert.pm:1.18
--- loncom/xml/lontexconvert.pm:1.17 Tue Feb 25 17:50:11 2003
+++ loncom/xml/lontexconvert.pm Wed Feb 26 15:22:11 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# TeX Conversion Module
#
-# $Id: lontexconvert.pm,v 1.17 2003/02/25 22:50:11 albertel Exp $
+# $Id: lontexconvert.pm,v 1.18 2003/02/26 20:22:11 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -117,6 +117,7 @@
sub to_convert {
my ($string) = @_;
$string=~s/\<br\s*\/?\>/ /g;
+ $string=&HTML::Entities::decode($string);
return &converted(\$string);
}