|
From: Mark K. <seg...@us...> - 2002-12-18 20:44:59
|
Update of /cvsroot/formmagick/formmagick/lib/CGI/FormMagick
In directory sc8-pr-cvs1:/tmp/cvs-serv20830/lib/CGI/FormMagick
Modified Files:
L10N.pm
Log Message:
Merged changes from branch MITEL-0_87. This includes a small patch to trim blank space from XML lexicon entries and parsing of email addresses per RFC822.
Index: L10N.pm
===================================================================
RCS file: /cvsroot/formmagick/formmagick/lib/CGI/FormMagick/L10N.pm,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -r1.37 -r1.38
*** L10N.pm 21 May 2002 18:32:11 -0000 1.37
--- L10N.pm 18 Dec 2002 20:44:55 -0000 1.38
***************
*** 347,350 ****
--- 347,352 ----
$trans = $e->{content}->[8]->[2];
if ($base && $trans) {
+ $trans =~ s/^\s*//; # Remove leading whitespace
+ $trans =~ s/\s*$//; # Remove trailing space
$return_lexicon{$base} = ($iconv
? $iconv->convert($trans)
|