From 2b8d967812822d1aec85faa458d13f0172281139 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 3 Mar 2008 23:12:43 +0000 Subject: merge in rt 3.6.6. *gulp*! --- rt/html/Elements/CollectionAsTable/Row | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rt/html/Elements/CollectionAsTable/Row') diff --git a/rt/html/Elements/CollectionAsTable/Row b/rt/html/Elements/CollectionAsTable/Row index 64ecef41c..d8492265e 100644 --- a/rt/html/Elements/CollectionAsTable/Row +++ b/rt/html/Elements/CollectionAsTable/Row @@ -55,6 +55,7 @@ $Warning => undef <%PERL> +use HTML::Entities; $m->out('' ); my $item; foreach my $column (@Format) { @@ -71,7 +72,9 @@ foreach my $column (@Format) { next; } $item++; - $m->out('{class} + ? encode_entities($column->{class}, q{'"&<>}) : 'collection-as-table'; + $m->out(qq{out( 'align="' . $column->{align} . '"' ) if ( $column->{align} ); $m->out( 'style="' . $column->{style} . '"' ) if ( $column->{style} ); $m->out('>'); -- cgit v1.2.1