[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 01 Jul 2003 19:27:31 -0000
albertel Tue Jul 1 15:27:31 2003 EDT
Modified files:
/loncom/interface lonfeedback.pm
Log:
- shouldn't be a bitwise and
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.47 loncom/interface/lonfeedback.pm:1.48
--- loncom/interface/lonfeedback.pm:1.47 Fri Jun 20 10:50:34 2003
+++ loncom/interface/lonfeedback.pm Tue Jul 1 15:27:31 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.47 2003/06/20 14:50:34 bowersj2 Exp $
+# $Id: lonfeedback.pm,v 1.48 2003/07/01 19:27:31 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -243,9 +243,9 @@
BR=>1, TT=>1, STRONG=>1, BLOCKQUOTE=>1, DIV=>1, IMG=>1);
$message =~ s/\<(\/?\s*(\w+)[^\>\<]*)/
- {($html{uc($2)}&(length($1)<1000))?"\<$1":"\<$1"}/ge;
+ {($html{uc($2)}&&(length($1)<1000))?"\<$1":"\<$1"}/ge;
$message =~ s/(\<?\s*(\w+)[^\<\>]*)\>/
- {($html{uc($2)}&(length($1)<1000))?"$1\>":"$1\>"}/ge;
+ {($html{uc($2)}&&(length($1)<1000))?"$1\>":"$1\>"}/ge;
} else {
$message=~s/\<\/*m\s*\>//g;
$message=~s/\</\<\;/g;