asciidoctor / asciidoctor-pdf

:page_with_curl: Asciidoctor PDF: A native PDF converter for AsciiDoc based on Asciidoctor and Prawn, written entirely in Ruby.
https://docs.asciidoctor.org/pdf-converter/latest/
MIT License
1.14k stars 501 forks source link

Incorrectly Formatted Content by Column When Spanning Rows #2533

Closed tomas182470 closed 4 weeks ago

tomas182470 commented 4 weeks ago

Cells are not properly formatted when the format is applied to a column while some rows are merged.

Consider the following example:

[cols="d,m"] |=== |Default |Monospace

|Default OK |Monospace OK

.2+|Default OK |Monospace OK |Monospace FAIL |===

It will render the following output:

image

I would expect all Monospace cells to be formatted in a monospace font.

tomas182470 commented 4 weeks ago

Once I posted the issue, I realized I should have posted it to the Asciidoctor Core issue tracker. Sorry for the inconvenience.

mojavelinux commented 4 weeks ago

This is a well known issue in Asciidoctor core. You need to style the cells individually when this happens. See https://github.com/asciidoctor/asciidoctor/issues/989