Subject: | cell data containing newlines does not render |
_build_body_row() has a check at line 528 to see whether the data cell is empty or not. This check fails if the data contains newline characters, and the "null value" is always substituted.
A user-level workaround is to do s/\n//g, unfortunately this can't be done in the map_cell() routines due to order of processing. (Perhaps the map_cell processing could be moved higher?)
Please change XHTML_Table.pm 1.36 line 528 from
my $cdata = ($row->[$_] =~ /^.+$/)
to
my $cdata = length $row->[$_]
This is probably more clear than changing it to read /^.+$/m or any of the other variations possible.