<% include('tr-td-label.html', @_ ) %> ><% $value %> <% include('hidden.html', %opt ) %> <%init> my %opt = @_; my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; my $value = $opt{'formatted_value'} || $opt{'curr_value'} || $opt{'value'}; #compatibility with select-table and friends if ( $opt{'multiple'} ) { $value = [ split(/\s*,\s*/, $value) ] if !ref $value; $value = join('
', map {encode_entities($_)} @$value); } else { $value = encode_entities($value) }