[Rt-commit] r3660 - in rt/branches/3.5-TESTING: .
html/Ticket/Elements
trs at bestpractical.com
trs at bestpractical.com
Tue Aug 16 10:39:32 EDT 2005
Author: trs
Date: Tue Aug 16 10:39:31 2005
New Revision: 3660
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/Ticket/Elements/ShowMessageStanza
Log:
r5899 at wintermute: tom | 2005-08-16 10:37:44 -0400
Fixed line breaking regex. (Alex pointed out it's brokenness a few days ago.)
Modified: rt/branches/3.5-TESTING/html/Ticket/Elements/ShowMessageStanza
==============================================================================
--- rt/branches/3.5-TESTING/html/Ticket/Elements/ShowMessageStanza (original)
+++ rt/branches/3.5-TESTING/html/Ticket/Elements/ShowMessageStanza Tue Aug 16 10:39:31 2005
@@ -57,7 +57,7 @@
my $content = $stanza->{raw};
RT::Interface::Web::EscapeUTF8(\$content);
$m->comp('/Elements/Callback', content => \$content, %ARGS);
- $content =~ s{\z}{<br />}g
+ $content =~ s{$}{<br />}mg
if defined $content;
</%perl>
@@ -69,7 +69,7 @@
% my $content = $Message;
% RT::Interface::Web::EscapeUTF8(\$content);
% $m->comp('/Elements/Callback', content => \$content, %ARGS);
-% $content =~ s{\z}{<br />}g;
+% $content =~ s{$}{<br />}mg;
<%$content |n%>
% }
<%INIT>
More information about the Rt-commit
mailing list