You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
kpot
added a commit
to kpot/python-textile
that referenced
this issue
Aug 31, 2022
Version 4.0.3
* Update supported Python versions to 3.8 - 3.12 [#83](#83)
* Replace html5lib with nh3 for html sanitization
* General code cleanup
* Bugfixes:
** Wrong HTML output when "bc.." is the very last in the document [#81](#81)
* Other:
** Use github actions instead of travis for automated testing
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.
The text was updated successfully, but these errors were encountered: