Skip to content

Line block not correctly parsed #44

Description

@acolombier

Hi,

I was unable to get Line Block to work correctly. Here is a minimal example

.. flat-table:: Test
* - Link
- Button
- | Baz
|Foo|Bar

Instead of rendering a table like so

LinkButtonBaz
Foo
Bar

It render this

LinkButton|Baz|Foo|Bar

I have managed to fix this by changing this line to:

foreleminlist(cellItem.findall(lambdan: isinstance(n, (colSpan, rowSpan)))):

Not sure if there is a better fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions