Skip Menu |
Report information
Id: 132341
Status: resolved
Priority: 0/
Queue: perl6

Owner: tbrowder <tom.browder [at] gmail.com>
Requestors: tbrowder <tom.browder [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



To: rakudobug [...] perl.org
Subject: [BUG] Pod 6 table handling should ensure table rows have the same number of cells even if they are empty
From: Tom Browder <tom.browder [...] gmail.com>
Date: Sat, 21 Oct 2017 12:44:05 -0500
Download (untitled) / with headers
text/plain 674b
Consider the following pod 6 tables: =begin table a | b | c m | n | o x | y =end table my $r = $=pod[0]; is $r.contents.elems, 3; is $r.contents[0].join(','), 'a,b,c'; # 3 cells is $r.contents[1].join(','), 'l,m,n'; # 3 cells is $r.contents[2].join(','), 'x,y'; # 2 cells; should change to "x,y," after a fix for this bug (3 cells vs 2) =table X | O | ---+---+--- | X | O ---+---+--- | | X $r = $=pod[1]; is $r.contents.elems, 3; is $r.contents[0].join(','), 'X,O'; # 2 cells; should change to "X,O," after a fix for this bug (3 cells vs 2) is $r.contents[1].join(','), ',X,O'; # 3 cells is $r.contents[2].join(','), ',,X'; # 3 cells
Fixed by PR #1240.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org