Created on 2022-04-05 02:51 by rouilj, last changed 2024-02-07 02:20 by rouilj.
Only mistume 1.x is supported. Mistune 2.0 support wasn't straight forward. I opened a ticket with mistune and they just responded. https://github.com/lepture/mistune/issues/290#issuecomment-1086333175 so incorporate their changes into the code base.
Also 0.8.4 which is the version supported has a CVE against it. https://nvd.nist.gov/vuln/detail/CVE-2022-34749 its a DOS caused by regexp backtracking in inline formatting. fixed in 2.2.0.
In the interim mistune 3.x has been released. Might as well target 3.x with python 3.x only.