
12 Sep
2007
12 Sep
'07
7:41 a.m.
No opinion about that enhancement?
2007/8/22, Sébastien Prud'homme
Hi,
A lot of our users are using email in HTML format. Unfortunately the OTRS html2txt feature doesn't transform HTML entities.
My question: with not use the HTML::Transform perl module to do it (or HTML::FormatText::WithLinks)?
I've done a small modification on my OTRS test system and it works fine. I've just added a single line of perl code to do this in Kernel/System/EmailParser.pm and removed all the things that were done by the OTRS perl code:
$Self->{MessageBody} = HTML::FormatText->format_string($Self->{MessageBody}, leftmargin => 0, rightmargin => $Self->{ConfigObject}->Get('Ticket::Frontend::TextAreaEmail'));
Regards