This happens only when the "bc.." block is the very last or the only block of the document. If it is followed by anything else, say a p. Extra text block, the resulting HTML is correct.
I'm currently working on porting python-textile to Rust, so I'm quite familiar with the code and plan to fix the bug myself. I'll send a PR with some extra tests.
Hi!
Given the following Textile document (in a form of a Python string):
python-textile outputs
When it should be producing
This happens only when the "bc.." block is the very last or the only block of the document. If it is followed by anything else, say a
p. Extra text
block, the resulting HTML is correct.I'm currently working on porting python-textile to Rust, so I'm quite familiar with the code and plan to fix the bug myself. I'll send a PR with some extra tests.