AsciidocFX
AsciidocFX copied to clipboard
1.7.2 - table - rowspan and colspan forget cell alignment in preview
When a cell has a colspan or rowspan, the global formatting of the next cell displayed is the one of the cell directly following the spanned cell but not that of the cell where it is displayed.
Cells need to be aligned with specific alignments. … ^|(3,2) >|(3,3) and >|(4,3)
[cols="<,^,>"]
|===
|(1,1)|(1,2)|(1,3)
.2+|(2,1)|(2,2)|(2,3)
|(3,2)|(3,3)
2+|(4,1)|(4,3)
|(5,1)|(5,2)|(5,3)
|===
Expected rendering (intentionally no MD table) would be …
(1,1) | (1,2) | (1,3)
(2,1) | (2,2) | (2,3)
| (3,2) | (3,3)
(4,1) | (4,3)
(5,1) | (5,2) | (5,3)
but it is rendered like this … so (3,2) gets the alignment of (3,1), (3,3) that of (3,2) and (4,3) that of (4,2).
(1,1) | (1,2) | (1,3)
(2,1) | (2,2) | (2,3)
| (3,2) | (3,3)
(4,1) | (4,3)
(5,1) | (5,2) | (5,3)
Fun fact: the AsciiDoc plugin for IntelliJ does the same.
Regards Peter
Hi,
Both we use Asciidoctor. It should be reported to https://github.com/asciidoctor
Thanks for pointing in the right direction … already an — quite aged — issue #989 there.