Closed
Description
Explain the problem.
I'm using rst writer with list-tables.
If the content of a cell is a BlockQuote
, the indention of the block looks wrong in the rst output.
Input:
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignLeft , ColWidth 0.2582188930503537 )
, ( AlignLeft , ColWidth 0.7417811069496463 )
]
(TableHead ( "" , [] , [] ) [])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignLeft
(RowSpan 1)
(ColSpan 1)
[ BlockQuote
[ Para [ Emph [ Str "Level" , Space , Str "0:" ] ]
, Para [ Emph [ Str "Incomplete" , Space , Str "process" ] ]
]
]
Current output:
.. list-table::
:widths: 26 74
-
- *Level 0:*
*Incomplete process*
Expected output:
.. list-table::
:widths: 26 74
-
- *Level 0:*
*Incomplete process*
I cannot identify the wrong code line, but the transformation of the BLockQuote
looks fine see.
Maybe it is some where in the table processing.
From the logic, even following output would be fine:
.. list-table::
:widths: 26 74
-
- *Level 0:*
*Incomplete process*
I'm even not sure if it is fixed with commit.
I even fear, if we change here the processing, that the output of classical tables breaks.
As it works for these:
+------------------------+-------------------------------------------------------------------------+
| *Level 0:* | *The process is not implemented or fails to achieve its process |
| | purpose.* |
| *Incomplete | |
| process* | |
+------------------------+-------------------------------------------------------------------------+
Pandoc version?
3.4