[Rt-commit] r13148 - in rt/branches/3.8-TESTING: .

sartak at bestpractical.com sartak at bestpractical.com
Tue Jun 10 19:38:57 EDT 2008


Author: sartak
Date: Tue Jun 10 19:38:57 2008
New Revision: 13148

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/share/html/Elements/RT__Ticket/ColumnMap

Log:
 r62152 at onn:  sartak | 2008-06-10 19:38:15 -0400
 Fix spurious <br>s in the Bookmark column of the saved search


Modified: rt/branches/3.8-TESTING/share/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Elements/RT__Ticket/ColumnMap	(original)
+++ rt/branches/3.8-TESTING/share/html/Elements/RT__Ticket/ColumnMap	Tue Jun 10 19:38:57 2008
@@ -301,7 +301,11 @@
     Bookmark => {
         title => ' ',
         value => sub {
-            return \$m->scomp( '/Ticket/Elements/Bookmark', id => $_[0]->id );
+            my $bookmark = $m->scomp( '/Ticket/Elements/Bookmark', id => $_[0]->id );
+            # the CollectionAsTable/Row template replaces newlines with <br>
+            $bookmark =~ s/\n//g;
+
+            return \$bookmark;
         },
     },
 };


More information about the Rt-commit mailing list