Closed jacobwhall closed 2 years ago
The Table class __init__ function defaults to setting the caption parameter to None:
__init__
None
https://github.com/sergiocorreia/panflute/blob/354297b90b763f99dee270b9e180baa21187cd64/panflute/table_elements.py#L69-L70
However, creating a Table with caption=None currently throws an error. This PR allows for the caption parameter to equal None.
caption=None
I would be happy to write a test for this if you feel it would be appropriate.
Addresses #209, and possibly #206.
The Table class
__init__
function defaults to setting the caption parameter toNone
:https://github.com/sergiocorreia/panflute/blob/354297b90b763f99dee270b9e180baa21187cd64/panflute/table_elements.py#L69-L70
However, creating a Table with
caption=None
currently throws an error. This PR allows for the caption parameter to equalNone
.I would be happy to write a test for this if you feel it would be appropriate.
Addresses #209, and possibly #206.