[otrs-cvs] otrs/Kernel/System EmailParser.pm,1.72,1.73
CVS commits notifications of OTRS.org
cvs-log at otrs.org
Sun Nov 9 23:14:11 GMT 2008
Comments:
Update of /home/cvs/otrs/Kernel/System
In directory lancelot:/tmp/cvs-serv26363/otrs-cvs/Kernel/System
Modified Files:
EmailParser.pm
Log Message:
Fixed bug# 3442 - HTML2Ascii is ignoring spaces on email processing.
Author: martin
Index: EmailParser.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/EmailParser.pm,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -d -r1.72 -r1.73
*** EmailParser.pm 11 Sep 2008 16:47:56 -0000 1.72
--- EmailParser.pm 9 Nov 2008 23:14:06 -0000 1.73
***************
*** 821,825 ****
# remove empty lines
$Self->{MessageBody} =~ s/^\s*//mg;
! $Self->{MessageBody} =~ s/\n//gs;
# remove style tags
--- 821,831 ----
# remove empty lines
$Self->{MessageBody} =~ s/^\s*//mg;
!
! # fix some bad stuff from opera and others
! $Self->{MessageBody} =~ s/(\n\r|\r\r\n|\r\n)/\n/gs;
!
! # repalce new lines with one space
! $Self->{MessageBody} =~ s/\n/ /gs;
! $Self->{MessageBody} =~ s/\r/ /gs;
# remove style tags
More information about the cvs-log
mailing list