The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
[%########################################
  data_cell_begin( colspan, align )
     Begin a datarow, taking care of colspan issues.
  ########################################-%]

[%- SET colspan   = ( colspan > 1 ) ? colspan - 1 : 1;
    DEFAULT align = 'left'; -%]
<td colspan="[% colspan %]" align="[% align %]">