Hello,
wrapping should be provided by the CGI (not by the browser) for more
consistency with quoted text wrapping and for respecting the char count
set in Kernel/Config.pm, so I removed the wrap="hard" attribute from the
<textarea> in AgentCompose.dtl and added the following two lines to
AgentCompose.pm:
[...]
>my $NewLine = $Self->{ConfigObject}->Get('ComposeTicketNewLine') || 75;
>$Self->{Body} =~ s/(> )?(.{$NewLine}[^\s]*\s)/$2\n/g;
# send email
if (my $ArticleID = $Self->{TicketObject}->SendArticle(
[...]
The same thing should be done on AgentBounce.* and AgentForward.*.
--
Alessandro Ranellucci (HOSTING CENTER) <[EMAIL PROTECTED]>
Ph. +39 06 6788489 - Fax +39 06 23315902 - http://www.hostingcenter.it
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev