owenh000/asciidoctor-multipage

Sections not supported in block-level table cells with "a" operator

owenh000 opened this issue · 2 comments

Unfortunately it is possible to put a section header inside a table cell with the "a" operator. The asciidoctor-multipage extension may not handle these sections as expected.

I hope section headers are seldom, if ever, being used inside table cells. Thus, fixing this issue is ultra-low priority. If however you want to see this fixed then this is the issue for you to comment on and/or work on.

I hope section headers are seldom, if ever, being used inside table cells.

Indeed, and even if they are they'll most likely be discrete headings.

The asciidoctor-multipage extension may not handle these sections as expected.

Any chance that the discrete attribute could be checked to skip such headings and prevent breakage? (this should apply to any block, since discrete headings are allows in any block, usually to mimic the style of section headings).

Thus, fixing this issue is ultra-low priority.

Definitely not urgent, but still worth sharing thoughts on this, for the solution might be simple (as proposed above).

@tajmone, good idea; thanks for reminder about discrete headings.