diff options
Diffstat (limited to 'rt/html/Elements/CollectionAsTable/Row')
-rw-r--r-- | rt/html/Elements/CollectionAsTable/Row | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/rt/html/Elements/CollectionAsTable/Row b/rt/html/Elements/CollectionAsTable/Row index d8492265e..64ecef41c 100644 --- a/rt/html/Elements/CollectionAsTable/Row +++ b/rt/html/Elements/CollectionAsTable/Row @@ -55,7 +55,6 @@ $Warning => undef </%ARGS> <%PERL> -use HTML::Entities; $m->out('<tr class="' . ( $Warning ? 'warnline' : $i % 2 ? 'oddline' : 'evenline' ) . '" >' ); my $item; foreach my $column (@Format) { @@ -72,9 +71,7 @@ foreach my $column (@Format) { next; } $item++; - my $class = $column->{class} - ? encode_entities($column->{class}, q{'"&<>}) : 'collection-as-table'; - $m->out(qq{<td class="$class" }); + $m->out('<td class="collection-as-table" '); $m->out( 'align="' . $column->{align} . '"' ) if ( $column->{align} ); $m->out( 'style="' . $column->{style} . '"' ) if ( $column->{style} ); $m->out('>'); |