From: <Ant...@nt...> - 2005-10-29 22:38:49
|
Author: AntonioTerceiro Date: 2005-10-29 15:37:28 -0700 (Sat, 29 Oct 2005) New Revision: 7222 Modified: twiki/branches/DEVELOP/ twiki/branches/DEVELOP/lib/TWiki.pm Log: Item000: reverting accidental change Property changes on: twiki/branches/DEVELOP ___________________________________________________________________ Name: svk:merge - 6fe119f3-adff-0310-8d65-eaf721ad8dcd:/local/twiki:10899 + 6fe119f3-adff-0310-8d65-eaf721ad8dcd:/local/twiki:10902 Modified: twiki/branches/DEVELOP/lib/TWiki.pm =================================================================== --- twiki/branches/DEVELOP/lib/TWiki.pm 2005-10-29 22:19:47 UTC (rev 7221) +++ twiki/branches/DEVELOP/lib/TWiki.pm 2005-10-29 22:37:28 UTC (rev 7222) @@ -1770,7 +1770,7 @@ sub entityEncode { my $text = shift; - $text =~ s/([^ -~\n\r]|[]["<>&])/ (ord($1) < 128)?('&#'.ord( $1 ).';'):($1) /ge; + $text =~ s/([^ -~\n\r]|[]["<>&])/'&#'.ord( $1 ).';'/ge; return $text; } |